Поиск в Поддержке

Избегайте мошенников, выдающих себя за службу поддержки. Мы никогда не попросим вас позвонить, отправить текстовое сообщение или поделиться личной информацией. Сообщайте о подозрительной активности, используя функцию «Пожаловаться».

Learn More

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

  • 2 ответа
  • 1 имеет эту проблему
  • 61 просмотр
  • Последний ответ от 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

Выбранное решение

Все ответы (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.