Този сайт ще има ограничена функционалност, докато се извършва тече неговата поддръжка. Ако дадена статия не може реши проблема ви и искате да зададете въпрос, нашата общност е готова да ви помогне на @firefox в Twitter и /r/firefox в Reddit.

Търсене в помощните статии

Избягвайте измамите при поддръжката. Никога няма да ви помолим да се обадите или изпратите SMS на телефонен номер или да споделите лична информация. Моля, докладвайте подозрителна активност на "Докладване за злоупотреба".

Научете повече

Does FF ever check for updates of static pages?

  • 1 отговор
  • 1 има този проблем
  • 6 изгледи
  • Последен отговор от xebeche

more options

When I open a static HTML page of our server (an index.htm file with HTML5 content) Firefox shows old content even though the file had been updated several days ago. Developer Tools -> Network shows "cached" in column "Transferred". The server log shows no hit at all. So, the server is not contacted, page content is coming from the cache. The response headers are

Date: Mon, 28 Aug 2017 09:48:54 GMT Server: Apache/2.4 Last-Modified: Wed, 17 May 2017 20:07:40 GMT ETag: "727-54fbdd727f565-gzip" Accept-Ranges: bytes Vary: Accept-Encoding Content-Encoding: gzip Content-Length: 940 Content-Type: text/html

I know about ^R, F5 etc., that's not my concern. What I wonder is when will Firefox contact the server again to ask whether the page had been updated? Is there a about:config setting for the frequency? Or will Firefox show the old content until the page happens to drop out of cache?

When I open a static HTML page of our server (an index.htm file with HTML5 content) Firefox shows old content even though the file had been updated several days ago. Developer Tools -> Network shows "cached" in column "Transferred". The server log shows no hit at all. So, the server is not contacted, page content is coming from the cache. The response headers are Date: Mon, 28 Aug 2017 09:48:54 GMT Server: Apache/2.4 Last-Modified: Wed, 17 May 2017 20:07:40 GMT ETag: "727-54fbdd727f565-gzip" Accept-Ranges: bytes Vary: Accept-Encoding Content-Encoding: gzip Content-Length: 940 Content-Type: text/html I know about ^R, F5 etc., that's not my concern. What I wonder is when will Firefox contact the server again to ask whether the page had been updated? Is there a about:config setting for the frequency? Or will Firefox show the old content until the page happens to drop out of cache?

Всички отговори (1)

more options

I should add that "browser.cache.check_doc_frequency" is set to its default value 3 which is explained as "Check for a new version when the page is out of date. (Default)" on its KB page.