Join us and the lead editor of IRL, Mozilla's multi-award-winning podcast, for a behind-the-scenes look at the pod and to contribute your ideas for the next season, themed: "AI and ME." Mark your calendar and join our Community Call on Wednesday, Aug 7, 17:00–17:45 UTC. See you there!

Etsi tuesta

Avoid support scams. We will never ask you to call or text a phone number or share personal information. Please report suspicious activity using the “Report Abuse” option.

Lue lisää

Does FF ever check for updates of static pages?

  • 1 vastaus
  • 1 henkilöllä on sama ongelma
  • 6 näyttöä
  • Viimeisin kirjoittaja 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?

Kaikki vastaukset (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.