struts-user mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From satyanarayana katta <saty.pra...@gmail.com>
Subject Re: Issue with the Browser Cache
Date Tue, 31 Mar 2009 02:40:05 GMT
Thanks a lot.  It is working fine now.  Looks like I had couple of issues.
1.  I had specified more values to the response headers than required.
2.  Use one get in the work flow.

Rgds,

Satya

2009/3/30 Paweł Wielgus <poulwiel@gmail.com>

> 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
  • Unnamed multipart/alternative (inline, None, 0 bytes)
View raw message