Tìm kiếm hỗ trợ

Tránh các lừa đảo về hỗ trợ. Chúng tôi sẽ không bao giờ yêu cầu bạn gọi hoặc nhắn tin đến số điện thoại hoặc chia sẻ thông tin cá nhân. Vui lòng báo cáo hoạt động đáng ngờ bằng cách sử dụng tùy chọn "Báo cáo lạm dụng".

Learn More

Does FF ever check for updates of static pages?

  • 1 trả lời
  • 1 gặp vấn đề này
  • 6 lượt xem
  • Trả lời mới nhất được viết bởi 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?

Tất cả các câu trả lời (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.