Issue with custom stylesheet "cache-buster" version
-
My tribe-events.css file is being loaded in the browser as https://mysite.com/wp-content/themes/mytheme/tribe-events/tribe-events.css?ver=4.1.1
I assume you’ve put the ver=4.1.1 on as a cache-busting device, but what I’m finding is that after updating the CSS file, the browsers are still loading the cached stylesheet because the version number hasn’t changed.
For now, I’ve dequeued the stylesheet and then re-enqueued it with a different version variable, but would love to know if there’s a better way to handle it.
Thanks.
Viewing 1 replies (of 1 total)
Viewing 1 replies (of 1 total)
- The topic ‘Issue with custom stylesheet "cache-buster" version’ is closed to new replies.