MyBB Community Forums

Full Version: Timestamp for CSS includes
You're currently viewing a stripped down version of our content. View the full version with proper formatting.
<link type="text/css" rel="stylesheet" href="http://community.mybb.com/cache/themes/theme2/global.css" />

I'm proposing we append the timestamp of the last time the stylesheet was edited to the end here. Sometimes people edit a stylesheet and it doesn't update on the forum without a Ctrl + F5; if the timestamp of the last edit was in the URL, it would force the browser to load the new copy, and then cache that, instead of still caching the older version.

Basically exactly the same as the new avatar anti-caching changes, it appends the timestamp of the last edit so it makes sure it reloads and the browser can then cache the new one.
this is especially important for those of that that set Expires manually via htaccess to improve performance
Agreed, Google Page Speed also told me that should be done :p
Sounds like a good idea