If you think a bug might affect users in the 57 release, please set the correct tracking and status flags for Release Management.

browser.cache.check_doc_frequency = 0 doesn't work




Networking: Cache
6 years ago
11 days ago


(Reporter: verdi, Unassigned)


11 Branch
Windows 7

Firefox Tracking Flags

(Not tracked)


(Whiteboard: [necko-backlog])



6 years ago
https://developer.mozilla.org/en/Mozilla_Networking_Preferences says that with browser.cache.check_doc_frequency set to 0, the page should be checked against the network version once per session. I set this to 0, loaded nytimes.com, quit Firefox, waited 10 minutes, restarted Firefox (with windows and tabs set to restore). When Firefox restarted I still had the old (original) version of the page. When I hit refresh I got a new version of the page. Expected result: When Firefox restarted it should have compared the cached version of the page, found that the network version had been updated and loaded the new version.

Comment 1

6 years ago
This was brought to my attention by a Firefox user in our support forum https://support.mozilla.org/en-US/questions/923027
Component: Session Restore → Networking: Cache
Product: Firefox → Core
QA Contact: session.restore → networking.cache

Comment 2

2 years ago
gives 4 possible values of this setting

AFAICT with "tools->web developer->network" this setting currently has no effect whatsoever in firefox 38.1.0

Whether you set it to 0, 1, 2, or 3 in all cases an f5-reload of the page results in a requests to the server for each cached resource (server then correctly returns a "304 - Not Modified" result)
Whiteboard: [necko-bavklog]
Whiteboard: [necko-bavklog] → [necko-backlog]

Comment 3

2 years ago
browser.cache.check_doc_frequency = 1 does not work in private mode browsing (CTRL+SHIFT+P)
Pages are showed from the cache (F12->network shows gray empty circle for the query: 302 Found (cached) etc)

whereas in normal mode this page works fine. Browser makes new query to the resource.
Bulk change to priority: https://bugzilla.mozilla.org/show_bug.cgi?id=1399258
Priority: -- → P1
Bulk change to priority: https://bugzilla.mozilla.org/show_bug.cgi?id=1399258
Priority: P1 → P3
You need to log in before you can comment on or make changes to this bug.