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
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
> 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
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(
>
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