In Firefox 5 Page is loaded from the BFCache instead of loading it from the server
I employ Websphere's form based authentication for protecting my J2EE web application. In the previous Firefox versions when authenticated the requested protected page is fetched from the server and now in Firefox 5 the page is from the BFCache and it causes some abnormal behaviours in my application. But, i f i change the config parameters browser.cache.disk.enable and browser.cache.memory.enable the page is from the server.
It is impossible for me to ask my users to do this config stuff to access my application in Firefox 5.
Please let me know if there is a way to solve this issue.
所有回覆 (3)
I'm not aware of any changes in this area, but that doesn't mean there aren't any...
Can you check the old article on this for suggestions?
I used both "no cache" and "no store" for cache-control header and still the page is not retrieved from the server and shown from the cache. Is there any other way to restrict firefox 5 to restrict from showing cached pages????
Other than the methods mentioned in the article (headers, unload event handler), some people add an argument to the URL (e.g., a timestamp).