Open Bug 736230 Opened 12 years ago Updated 2 years ago

browser.cache.check_doc_frequency = 0 doesn't work

Categories

(Core :: Networking: Cache, defect, P3)

11 Branch
x86
Windows 7
defect

Tracking

()

People

(Reporter: verdi, Unassigned)

Details

(Whiteboard: [necko-backlog])

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.
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
http://kb.mozillazine.org/Browser.cache.check_doc_frequency
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]
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
Severity: normal → S3
You need to log in before you can comment on or make changes to this bug.