TYGR · WordPress
Remove query strings, properly
Why the trick still works, and when it breaks a cache.

What to do
- Removing version query strings from static assets once defeated proxy caching. Today it mostly defeats your own cache invalidation.
- A query string is how the browser knows an asset changed; strip it and you serve last month's stylesheet after a deploy.
- If a proxy genuinely ignores query strings, version the file name instead of the parameter.
- Never remove the parameter from a script that carries a version for a reason, such as a payment library with a breaking change.
How this actually fails
It fails for the assets that use the query string as a version, not a cache buster. Strip it and the CDN serves the previous file for a week, so the stylesheet change you deployed never reaches the browser that had the old copy. The page looks broken for returning visitors only.
Check it yourself
Remove the version parameter from one stylesheet, deploy a visible colour change, and load the site in a browser that has visited before. If the change is missing, the query string was the cache key. Replace it with a content hash in the filename, not nothing.
Free to read. The scorer is free to use.
Do I need the plugin?
No. Every step here works by hand. The plugin does them for you and keeps the score.
Claim 10 GB as a founder