Changes to minified CSS no longer change compressed file name
-
With the new method of not reminifying already minified CSS (yay!), there’s a slight glitch: changes in those CSS files don’t change the hash any more, so the filename stays the same. This means that a plugin or theme update can’t bust caches (e.g. browser cache, CloudFlare cache).
The hash needs to take into consideration the script / stylesheet version, so that it changes when they do.
cheers,
Ross
Viewing 5 replies - 1 through 5 (of 5 total)
Viewing 5 replies - 1 through 5 (of 5 total)
- The topic ‘Changes to minified CSS no longer change compressed file name’ is closed to new replies.