为提升您的使用体验,本站正在维护,部分功能暂时无法使用。如果本站文章无法解决您的问题,您想要向社区提问的话,请到 Twitter 上的 @FirefoxSupport 或 Reddit 上的 /r/firefox 提问,我们的支持社区将会很快回复您的疑问。

搜索 | 用户支持

防范以用户支持为名的诈骗。我们绝对不会要求您拨打电话或发送短信,及提供任何个人信息。请使用“举报滥用”选项报告涉及违规的行为。

详细了解

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

  • 2 个回答
  • 1 人有此问题
  • 1 次查看
  • 最后回复者为 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.