[opencms-dev] Caching Problem

M Butcher mbutcher at grcomputing.net
Thu Jan 22 19:05:02 CET 2004


The main question is: Where is it getting cached?

All of the response settings that you have tried assume that the client 
is caching the page, which is possible. The server may also be caching 
it. Look at the OpenCms FlexCache documentation for a full explanation.

In short, though, you can probably set the cache property on each of the 
JSPs to 'never' and they will not get cached.

Before you do that, you can run a simple test to verify this is the 
problem. Try clearing the cache manually in the Flex Cache 
Administration screen.

Hope that works for you,

Matt

Raza Naqvi wrote:
> Hi All,
> 
> There is a MainPage.jsp which includes Some more JSPs using <jsp:include page="xxx" flush="true" />. And the modifications made to those JSPs doesn't reflect the MainPage.jsp.
> 
> I tried to stop caching using 
> <%
> response.setHeader("Cache-Control","no-store"); //HTTP 1.1
> response.setHeader("Pragma","no-cache"); //HTTP 1.0
> response.setDateHeader ("Expires", 0); //prevents caching at the proxy server
> response.addHeader("Cache-control", "max-age=0");
> %>
> 
> and also using META-TAG in HTML.
> 
> Even-though, The page doesn't get refresh. Iam compelled to delete the generated servlets and again execute the JSPs..
> 
> Any solution to this?
> 
> Thanks and Regards,
> Raza Naqvi...
> 
> 
> 
> 
> 
> _____________________________________________________________
> I use Krify Mail - http://mail.krify.com  Get  Yourname at  Krify today!
> _______________________________________________
> This mail is send to you from the opencms-dev mailing list
> To change your list options, or to unsubscribe from the list, please visit
> http://mail.opencms.org/mailman/listinfo/opencms-dev




More information about the opencms-dev mailing list