2019-09-16, 07:34 PM
I was thinking about submitting this to GitHub.
Any thoughts on the following change? It would allow for effective caching of css.
global.php (around line 356)
replace
with
Any thoughts on the following change? It would allow for effective caching of css.
global.php (around line 356)
replace
$theme_stylesheets[basename($page_stylesheet)] = "<link type=\"text/css\" rel=\"stylesheet\" href=\"{$stylesheet_url}\" />\n";
with
$lastmod = filemtime($page_stylesheet);
$theme_stylesheets[basename($page_stylesheet)] = "<link type=\"text/css\" rel=\"stylesheet\" href=\"{$stylesheet_url}?lastmod={$lastmod}\" />\n";