http://www.nabble.com/Back-button-retrieving-cached-data-even-with-proper-headers.-to17260832.html#a17260832
-- Jeremy Thomerson http://www.wickettraining.com On Wed, Mar 25, 2009 at 8:44 PM, novotny <novo...@gridsphere.org> wrote: > > Hi, > > I notice when I hit the back button it takes me to the last page without > hitting the server. I read some posts that mentioned the method in WebPage > that should disable caching by default > > protected void setHeaders(WebResponse response) { > response.setHeader("Pragma", "no-cache"); > response.setHeader("Cache-Control", "no-cache, max-age=0, > must-revalidate"); // no-store > } > > But it doesn't seem to work-- I'm using Firefox version 3.0.7. Has anyone > encountered this problem before? > > Thanks, Jason > -- > View this message in context: > http://www.nabble.com/problems-with-back-button-tp22714651p22714651.html > Sent from the Wicket - User mailing list archive at Nabble.com. > > > --------------------------------------------------------------------- > To unsubscribe, e-mail: users-unsubscr...@wicket.apache.org > For additional commands, e-mail: users-h...@wicket.apache.org > >