Open Bug 1656630 Opened 4 years ago Updated 3 years ago

Honor browser.cache.check_doc_frequency=1 (always validate) for cached stylesheets

Categories

(Core :: CSS Parsing and Computation, defect)

79 Branch
defect

Tracking

()

Tracking Status
firefox-esr68 --- unaffected
firefox-esr78 --- unaffected
firefox79 --- affected
firefox80 --- affected
firefox81 --- affected

People

(Reporter: jscher2000, Unassigned)

References

(Regression)

Details

(Keywords: regression)

User Agent: Mozilla/5.0 (Windows NT 10.0; Win64; x64; rv:79.0) Gecko/20100101 Firefox/79.0

Steps to reproduce:

Set browser.cache.check_doc_frequency=1, load a page, and then reload it (F5).

Actual results:

All files except the external css file are validated before being used from cache. Style sheet files are not validated (changed in bug 1599160).

Expected results:

The style sheet files should be validated. Developers that rely on this preference to iterate on their files have to do a full reload (Ctrl+F5) which wastes time and bandwidth.

Bugbug thinks this bug should belong to this component, but please revert this change in case of error.

Component: Untriaged → Networking: Cache
Product: Firefox → Core
Regressed by: 1599160
Has Regression Range: --- → yes

Set release status flags based on info from the regressing bug 1599160

Component: Networking: Cache → CSS Parsing and Computation

Hmm, actually, check_doc_frequency applies only to the document load, which makes some sense. I could add a pref to always validate subresource loads, if that'd be useful, but that would do basically what devtools' disable-cache does.

Assignee: nobody → emilio
Status: UNCONFIRMED → NEW
Ever confirmed: true
Assignee: emilio → nobody
Status: NEW → UNCONFIRMED
Ever confirmed: false
Severity: -- → S4

The bug has a release status flag that shows some version of Firefox is affected, thus it will be considered confirmed.

Status: UNCONFIRMED → NEW
Ever confirmed: true
You need to log in before you can comment on or make changes to this bug.