Open
Bug 1037506
Opened 11 years ago
Updated 2 years ago
All stylesheets are cached forever
Categories
(Core :: CSS Parsing and Computation, defect)
Core
CSS Parsing and Computation
Tracking
()
NEW
People
(Reporter: khuey, Unassigned)
Details
(Keywords: memory-leak, Whiteboard: [MemShrink:P2])
css::Loader::mCompleteSheets is a monotonically growing hashtable (until the loader, which is attached to the document, is unlinked anyways). We should expire this cache somehow.
Updated•11 years ago
|
Whiteboard: [MemShrink] → [MemShrink:P2]
Updated•3 years ago
|
Severity: normal → S3
It would be nice if stylesheets were not cached at all by default.
In both Chrome and Safari you can reload styles by recreating a <link rel="stylesheet" href="..." /> tag and the browser will send a new request to the server.
Firefox just refuses to reload styles if you don't change the URL (by appending a random query for example).
For production applications this is probably not an issue, but it breaks a lot of development workflows and requires Firefox specific workarounds.
You need to log in
before you can comment on or make changes to this bug.
Description
•