Re: Web Browser Caching and 302 Response
Scott Farquhar <[email protected]> Tue, 30 Aug 2005 08:52:49 +1000
| Newsgroups | gmane.comp.web.sitemesh.general,gmane.comp.lang.pnuts.user |
|---|---|
| Message-ID | <[email protected]> |
Rick On Mon, Aug 29, 2005 at 11:13:36AM -0500, rick wrote: > I am currently experiencing a problem with web browsers returning a cached decorated pages, rather obtaining a "freshly" decorated page from the server. I have analyzed the HTTP headers and have verified "no-cache" headers are set. I have also noticed the server is returning a NOT MODIFIED response (HTTP 302 status) to conditional GET requests (If-Modified-Since) for static content bodies. I think the browser is then displaying the page from its cache (inappropriately decorated with a header and left nav from a previous user-- a security risk). I'm assuming that you mean a 304 "Not Modified" reponse? I have fixed this in CVS: http://jira.opensymphony.com/browse/SIM-186 Can you test with CVS Head, and let me know if it works for you? What happens is that Sitemesh now suppresses the request "no-cache" header, so that the server never sees it. Cheers, Scott --------------------------------------------------------------------- To unsubscribe, e-mail: [email protected] For additional commands, e-mail: [email protected]