You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
Copy file name to clipboardExpand all lines: src/main/asciidoc/tutorials.adoc
+3
Original file line number
Diff line number
Diff line change
@@ -713,6 +713,9 @@ and http://www.w3.org/TR/resource-hints[link] headers won't be set in the HTTP r
713
713
In that case, WUIC will modify the HTML to respectively insert a (http://www.w3.org/TR/2011/WD-html5-20110525/offline.html)[cache manifest]
714
714
file and a `link` tag to the content.
715
715
716
+
TIP: if your statics are going to served by the `Servlet container`, the `ContextListener` will automatically install a
717
+
`Filter` that optimize each resource by enabling the browser cache. It will also `GZIP` the content if the client supports it.
718
+
716
719
==== Configure for templating usage
717
720
718
721
If you use templating project like `JSP` or `Thymeleaf`, then you can build your application as usual and then use the maven plugin to create a file added to the classpath.
0 commit comments