struts-user mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From Paweł Wielgus <poulw...@gmail.com>
Subject Re: Issue with the Browser Cache
Date Mon, 30 Mar 2009 10:26:45 GMT
Hi Satya,
You can read my post about this matter,
also You can download and run my simple app to see how it works, the
link is in the bottom of post.

http://poulwiel.blogspot.com/2009/01/browser-back-button-and-caching-problem.html

Best greetings,
Paweł Wielgus.

2009/3/27 satyanarayana katta <saty.prasad@gmail.com>:
> Hi All,
>
> We are developing an application with Struts 2.1.6 and tiles 2.0.6.  We
> don't want the browser to cache the pages.
>
> I tried all the options and still the browser is caching the pages and when
> I hit the back button the page gets loaded.
>
> Tried Options
>
> 1.  Wrote an interceptor and added the response header to have pragma
> no-cache, expires -1, no-store etc.
> 2.  Added response headers directly in jsp
>
> Used the http-watch to see if the headers are being set.  HttpWatch shows
> that the headers are infact set.
>
> Whatever I do, the back button doesn't expire the page.
>
> Am I missing something?  Please help.
>
> Rgds,
>
> Satya
>

---------------------------------------------------------------------
To unsubscribe, e-mail: user-unsubscribe@struts.apache.org
For additional commands, e-mail: user-help@struts.apache.org


Mime
View raw message