搜尋 Mozilla 技術支援網站

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

了解更多

Retrieve from cache or server: what is Firefox's logic

  • 2 回覆
  • 1 有這個問題
  • 10 次檢視
  • 最近回覆由 DavyStokes

more options

I clicked on a hyperlink to visit a web site that I had not visited for a couple of months. Firefox showed me the page as it was when I last visited it. I pressed F5 and the page updated to the latest version. I don't seem to have this problem with other websites; just this one. Does anybody understand the logic Firefox uses when determining whether to display a page from the cache or to get the latest page from the web server?

Using Firefox 10; Windows XP

I clicked on a hyperlink to visit a web site that I had not visited for a couple of months. Firefox showed me the page as it was when I last visited it. I pressed F5 and the page updated to the latest version. I don't seem to have this problem with other websites; just this one. Does anybody understand the logic Firefox uses when determining whether to display a page from the cache or to get the latest page from the web server? Using Firefox 10; Windows XP

被選擇的解決方法

The site may not be sending an ETag header in the response headers or otherwise send info that makes Firefox think that the cached data has expired.

從原來的回覆中察看解決方案 👍 1

所有回覆 (2)

more options

選擇的解決方法

The site may not be sending an ETag header in the response headers or otherwise send info that makes Firefox think that the cached data has expired.

more options

Thank you cor-el. The first link mnot is particularly useful. But what I have learnt is that caching is a black art. The logic is influenced by the browser logic, the browser cache size, the web servers caching rules and the html on the page. Impossible for the user to control; very difficult for the web page author. So even if I were to understand Firefox's logic it would not help me much.