Шукати в статтях підтримки

Остерігайтеся нападів зловмисників. Mozilla ніколи не просить вас зателефонувати, надіслати номер телефону у повідомленні або поділитися з кимось особистими даними. Будь ласка, повідомте про підозрілі дії за допомогою меню “Повідомити про зловживання”

Learn More

Ця тема перенесена в архів. Якщо вам потрібна допомога, запитайте.

In Firefox 5 Page is loaded from the BFCache instead of loading it from the server

more options

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.

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)

more options

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?

https://developer.mozilla.org/en/using_firefox_1.5_caching

more options

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

more options

Other than the methods mentioned in the article (headers, unload event handler), some people add an argument to the URL (e.g., a timestamp).