Preventing CSS Files From Getting Cached
(2012-11-06, 03:02 PM)Leefish Wrote: This happens to me all the time Big Grin

I am ALWAYS fiddling with the css - to such an extent that the leefish site unofficial motto is "Press Shift+F5".

It would be handy to have a quick and simple version control, so what should be cached IS cached - but after I have made a change on the css my users will get an updated css file without having to hit F5.

Exactly i think this would be a really nice feature to add to the core of MyBB. But for now i think doing this:


<link type="text/css" rel="stylesheet" href="{$mybb->settings['bburl']}/{$page_stylesheet}?vers=001">

Would.. well should work to not sure though.

edit COould also be that this messes up the stylesheets for other pages though :/

Messages In This Thread
RE: Preventing CSS Files From Getting Cached - by anori - 2012-11-06, 03:29 PM

Forum Jump:

Users browsing this thread: 1 Guest(s)