搜尋 Mozilla 技術支援網站

防止技術支援詐騙。我們絕對不會要求您撥打電話或發送簡訊,或是提供個人資訊。請用「回報濫用」功能回報可疑的行為。

Learn More

page not reloading even if page is marked as no cache

more options

Web pages will not reload on visit even if the meta information specifies: <meta http-equiv="Pragma" content="no-cache" /> and <meta http-equiv="Expires" content="0" />

Page shown is last visit from cache instead.

Web pages will not reload on visit even if the meta information specifies: <meta http-equiv="Pragma" content="no-cache" /> and <meta http-equiv="Expires" content="0" /> Page shown is last visit from cache instead.

所有回覆 (8)

more options

Reload a web page and bypass the cache with:

  • 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)

See Keyboard shortcuts - Perform common Firefox tasks quickly and Use mouse shortcuts to perform common tasks in Firefox

more options

If you read my post closely you will see it is not about re-loading a page but rather getting the current page when "nocache" is specified in the meta information. Manual reload is not necessary if the meta language is adhered to.

more options

ad5xj, you should've expected that one. How often do people answer a question that wasn't asked? I'm looking for the same solution you are and have found nothing but uselessness like cor-el's answer. Even to the registration for this forum is screwed up. Never got an email confirmation and then had to select to "re-send"... How does one re-send something they never sent? How does one redo ANYTHING they haven't done once? Stupid concepts from stupid people. If I find a solution for this question, I'll return and post it.

more options

That can mean that no (easy) solution is possible.
Firefox always loads pages from the cache if you reopen the page automatically on a (re)start.
To prevent that you will have to clear the cache on exit.
You can set Firefox to reload a page on each visit.

由 cor-el 於 修改

more options

Found it.

Using Firefox for Linux, 1) Click on Edit and select Preferences. 2) In the Firefox Preferences click on the Privacy tab. 3) Check (or leave if already check) the box the reads "Clear history when Firefox closes". 4) Now, click on the Settings button next to it. 5) Ensure that the "Cache" box is also checked. 6) Click "OK" 7) Click "Close" 8) Close Firefox. 9) Wait about 10 seconds for Firefox to completely stop. 10) Re-open Firefox.

This wasn't actually a Firefox issue. For some reason the information from the sites themselves were just hanging around. Also, just closing Firefox and then re-opening it right away doesn't give the system a chance to completely clear the cache, (which is why I estimated 10 seconds).

more options

I've noticed this since version 4 or slightly earlier. It's quiet annoying, I have to tell people to use Internet Explorer because I change a website quite frequently and Firefox ignores these directives:

<META HTTP-EQUIV="Pragma" CONTENT="no-cache"> <META HTTP-EQUIV="Cache-Control" CONTENT="no-cache"> <META HTTP-EQUIV="Expires" CONTENT="-1">

It used to always follow those directives and since version 4 it doesn't. It just serves up stale old copies from cache, despite being told not to cache them.

Cheers, Gavin.

more options

It is a firefox 5.0 cookies and cache related bug see: https://support.mozilla.com/en-US/questions/839553

We have the same issue in our site at http://www.morsmal.org when changing languages.

Delete cache and cookies at the *same* time and you will get some temporally control.. but you will need to do so every time you visit a site using advanced cookies routines :-(

more options

anyone have an answer for this? I want to create a pure html page but all meta tags does not work.

(