Hi all.
I am using Glassfish 2.1 and i want to cache my CSS & JS files.
When i write
<meta content="19-Mar-2010 08:23:00 GMT" http-equiv="Expires">
<meta content="max-age=315360000" http-equiv="Cache-control">
or
<%
response.setHeader("Expires","19-Mar-2010 08:23:00 GMT");
response.setHeader("Cache-control","max-age=315360000");
%>
on jsp a browser caches only this page but not js & css included in it.
Question is how can i set caching headers (Cache-control, Expires) for javascript and css files (may be it is any option in application/web module descriptor?).
[Message sent by forum member 'mikamj' (mikamj)]
http://forums.java.net/jive/thread.jspa?messageID=340930