Filename based cache busting for WordPress scripts/styles using last modified date.
As of April 2026, Filename based asset cache busting is a WordPress JS plugin with 200 active installations and a 5/5 rating from 5 reviews. It has been downloaded 10K+ times in total. Requires WordPress 3.0.1+ and PHP false+. Available on WordPress.org since 2016. Last updated 5 years ago — may have compatibility concerns. Top alternative: Clear Cache for Me.
Filename based cache busting for WordPress scripts/styles using last modified date.
Stop telling clients or users to hard refresh / shift refresh. The url to all of the css/js files on your site will change automatically whenever the files are modified. You can set proper long cache lifetimes to help get top scores on Google Pagespeed without running into cached css/javascript problems.
Based on this gist https://gist.github.com/ocean90/1966227 from Dominik Schilling, I’ve enhanced it by automatically replacing the asset version with the files modification time and automatically editing htaccess – making it install + forget.
Includes querystring option as a fallback – which works in more scenarios.
The plugin should add what it needs to your .htaccess f…
| WordPress | 3.0.1+ requiredTested up to 5.4.19 |
| PHP | false+ required |
Plugin data sourced from WordPress.org. Analysis and metrics by PluginSift.