I created a Servlet filter with the following code in doFilter:
HttpServletResponse httpResponse = (HttpServletResponse)response;
httpResponse.setHeader(\"C
I found this in the oracle docs where they mention that you should never use
httpResponse.setDateHeader("Expires", 0);
instead of it you should use
setDateHeader("Last-Modified", (new Date()).getTime() );
http://docs.oracle.com/cd/E13158_01/alui/wci/docs103/devguide/tsk_pagelets_settingcaching_httpexpires.html