CSS versioning to force browser to refresh local cache?
-
Hello,
We noticed a recurring issue with the CSS minifying feature.
When we update our own CSS custom files (they are versioned), it forces the local browser to download the latest version.
However when minifying in WP Optimize is enabled, even if we delete and refresh all WordPress, WP Optimize, server-side and CDN caches, it doesn’t force the refresh of the local browser cached minified CSS file, therefore the user sees sometimes outdated CSS or even broken site if we changed a big part of the CSS.
What is the solution for this? Shouldn’t the minified CSS files be versioned too so that the browser knows it should pull the latest version?
Thanks
The topic ‘CSS versioning to force browser to refresh local cache?’ is closed to new replies.