[Opensymphony-oscache] Re: Got "HTTP/1.1 304 Not Modified" When Press Ctrl + F5

Lars Torunski <[email protected]> Tue, 05 Dec 2006 13:50:09 CST
Newsgroups gmane.comp.java.open-symphony.os-cache
Message-ID <19334428.1165348244483.JavaMail.os-j2ee@opensymphony01.managed.contegix.com>
Your browser and web server behaviour my be based on the your paramters:

<init-param>
<param-name>lastModified</param-name>
<param-value>on</param-value>
</init-param> 

<init-param>
<param-name>max-age</param-name>
<param-value>600</param-value>
</init-param> 

You will get best results, if you remove these parameters. My experience is that setting max-age to 600 will force the browser not to send a request to the web server. I can't prove this currently.
---------------------------------------------------------------------
Posted via Jive Forums
http://forums.opensymphony.com/thread.jspa?threadID=52057&messageID=105368#105368