How do I prevent Firefox 5 from caching webpages?
Users are complaining that they can't login to our website when using Firefox 5. All other browsers appear to work, including previous versions of Firefox. I can resolve the issue on the user's side by emptying their cache and setting browser.cache.check_doc_frequency to 1 -- but this is not an efficient solution.
I've seen a lot of posts from others having the same problem and have tried all manners of meta tags trying to tell Firefox not to cache. Currently using, to no avail, and based on posts from others:
<meta http-equiv="expires" content="0"/> <meta http-equiv="cache-control" content="no-cache,no-store,must-revalidate,max-age=-1"/> <meta http-equiv="pragma" content="no-cache,no-store,private,must-revalidate,max-stale=0,post-check=0,pre-check=0"/> <meta http-equiv="expires" content="Tue, 01 Jan 1980 1:00:00 GMT">
What exactly must I do in either IIS or the page itself to have Firefox work? Again, all complaints are from 5, previous versions had no issue
Tất cả các câu trả lời (2)
I don't think that you can easily prevent Firefox from caching web pages.
Can't you do that by clearing cookies if you log out?
What is so special that the browsing cache is causing problems?
Does it work in Private Browsing mode (disk cache disabled and cookies are session cookies)?
You can also reload web page(s) and bypass the cache.
- Press and hold Shift and left-click the Reload button.
- Press "Ctrl + F5" or press "Ctrl + Shift + R" (Windows,Linux)
- Press "Cmd + Shift + R" (MAC)
The problem is that Firefox is displaying the cached copy of the login screen, instead of redirecting the user to the site after a successful login. Every problem call/email I'm getting is from folks who upgraded to v5.
Được chỉnh sửa bởi [email protected] vào