In my servlet filter I set the following response header to enable caching of some resources:
Cache-Control: public,max-age=604800,must-revalidate
When I look at the response headers in Google Chrome version 46, I can see the same values for the cache-control header mentioned above. Chrome also shows GET 200 (from cache) 0ms.
However, Firefox 38, shows GET 304 and to my surprise Cache-Control: "no-cache" as the value of the cache-control header instead of the values set by my servlet filter.
Internet Explorer 10 shows GET 200 and also "no-cache" as the value of the cache-controle header.
So, can you explain to me why or how the value that I set in my servlet filter (in my JSF/PrimeFaces app deployed on JBoss AS 7) as a http response header, shows up unmodified in chrome but changed in firefox and IE. I didn't code any javascript myself that might have overridden this header. I am actually trying to enable the "same" caching strategy for all three browsers mentioned.
Regards, Ronald Wouters.