MyBB Community Forums

Full Version: Force cache refresh for stylesheet
You're currently viewing a stripped down version of our content. View the full version with proper formatting.
I'm curious as to know if anyone has a good/convenient way to force a cache refresh for CSS style-sheets with MyBB. On other sites, I'd just add a query string to the end of it with the date or something similar to ensure the cache is refreshed for clients, but with MyBB I can't really easily do that. Does anyone have any recommendations?

Automatic query strings with a dateline would be a good feature for MyBB 1.8 *hint hint*.
Yeah, having query strings automatically added would be great. I've currently just modified the stylesheet loading code to add a last-modified dateline to the URLs.
Plus so many for this. When I make changes to my theme I want to push that out as a new version of that theme so the dateline feature would be very handy.
Yeah, I agree that this would be very helpful.