Cache filename (filemtime part) handling for imported/resolved CSS files

Bug #353468 reported by Daniel Hahler
2
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).

Daniel Hahler (blueyed)
Changed in b2evolution:
status: New → Invalid
Revision history for this message
Daniel Hahler (blueyed) wrote :

Fixed in whissip branch.

To post a comment you must log in.
This report contains Public information  
Everyone can see this information.

Other bug subscribers

Remote bug watches

Bug watches keep track of this bug in other bug trackers.