Re: prevent browser from cahing my pages

2009-09-10 Thread fachhoch
I restarted firefox and then it works.Thanks mbrictson wrote: > > I am not sure, but you may want to double-check where the caching is > actually happening, and whether setHeaders() is working. > > For example, using Firebug or something simliar you should be able to > check if the browser c

Re: prevent browser from cahing my pages

2009-09-10 Thread mbrictson
I am not sure, but you may want to double-check where the caching is actually happening, and whether setHeaders() is working. For example, using Firebug or something simliar you should be able to check if the browser cache is being used or if it is actually making an HTTP roundtrip. You should al

Re: prevent browser from cahing my pages

2009-09-10 Thread Martin Makundi
> but the browser is still caching the pages , I hit the back button or > forward button the page is not refreshed , please tell me how   to prevent > browser from chaching my pages. This has got nothing to do with CACHE. It is Wicket's pagemap. If you hit BACK it loadas the OLD page from PAGEMAP

Re: prevent browser from cahing my pages

2009-09-10 Thread fachhoch
i tried this it did not work , does it have anything to do with urlencodingstrategy ? mbrictson wrote: > > This works for me: > > @Override > protected void setHeaders(WebResponse response) > { > response.setHeader("Pragma", "no-cache"); > response.setHeader( >

Re: prevent browser from cahing my pages

2009-09-10 Thread mbrictson
This works for me: @Override protected void setHeaders(WebResponse response) { response.setHeader("Pragma", "no-cache"); response.setHeader( "Cache-Control", "no-cache, max-age=0, must-revalidate, no-store" ); } "no-store" is needed