Cache filename (filemtime part) handling for imported/resolved CSS files
Bug #353468 reported by
Daniel Hahler
Affects | Status | Importance | Assigned to | Milestone | |
---|---|---|---|---|---|
b2evolution |
Invalid
|
Undecided
|
Unassigned | ||
Whissip |
Fix Released
|
Medium
|
Unassigned |
Bug Description
The filename of a CSS resource bundle only contains a key for the freshness of the outer files (most recent filemtime), not the @imports.
So, if you change e.g. basic.css, which gets imported only, the cache does a) not get invalidated (which is expected), but after clearing the cache, the generated filename would be the same (and would not contain the most recent filemtime of all files being read in).
Possible solution: changing the mtime of the "main file" (where the @imports get resolved from) to the one from the newest imported file?! This keeps regular lookups cheap (so that they do not have to follow the @imports to get the most recent mtime).
Changed in b2evolution: | |
status: | New → Invalid |
To post a comment you must log in.
Fixed in whissip branch.