.css?v= auto update?

Access Denied

It was like that when I got here...
Joined
Jun 14, 2006
Messages
2,552
Added a containter to my test site and the css wouldn't apply. Couldn't for the life of me figure out why until I decided to change the website title. Figured out that the cache wasn't updating so added the ?v= to the link for the external css file. Changing that version number every time I make a change to the css is going to become annoying. Is there any way I can make that auto update every time I change the css?

Ta muchly!
 

Overdriven

Dumpster Fire of The South
Joined
Jan 23, 2004
Messages
12,757
1636367620030.png

Your CSS should auto-update if you're saving to the file (style.css, without version). You might be having cache issues.
 

Access Denied

It was like that when I got here...
Joined
Jun 14, 2006
Messages
2,552
Figured it out. .css?v=<?php echo strtotime("now");?>
 

Users who are viewing this thread

Top Bottom