Filename based asset cache busting
Filename based cache busting for WordPress scripts/styles using last modified date.
Consider an alternative
Filename based asset cache bust… shows warning signs in 2026 — compare the alternatives below before installing. It runs on 100+ sites, is rated 5/5 and was last updated 7 years ago, and scores 37/100 on our health check.
- Small user base (100+ active installs)
- No update in 6 years
- Only tested up to WordPress 5.4 (latest is 7.1)
How does it stack up?
Side-by-side on installs, updates, ratings & supportDaily downloads
Download spikes usually follow a new release — each site that auto-updates counts as a download.
Rankings
Where Filename based asset cache… stands todayWordPress.org search rankings
Live position in the plugin search, top 100| Keyword | Position |
|---|---|
| asset | >100 |
| assets | >100 |
| css | >100 |
| JS | >100 |
| version | >100 |
Version adoption
Share of active sites per release.
Rating breakdown
★★★★★★★★★★ 5 from 5 reviews
About Filename based asset cache busting
From the official readme · v1.4Description
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.
Webservers
Apache
The plugin should add what it needs to your .htaccess file jsut like WP itself. But if for any reason that doesn’t work for you – here’s what it adds:
# FBACB
<IfModule mod_rewrite.c>
RewriteEngine On
RewriteBase /
RewriteCond %{REQUEST_FILENAME} !-f
RewriteCond %{REQUEST_FILENAME} !-d
RewriteRule ^(.+)\.([0-9\.]+)\.(js|css)$ $1.$3 [L]
</IfModule>
# still fbacb
<IfModule mod_expires.c>
ExpiresActive on
ExpiresByType text/css "access plus 1 year"
ExpiresByType application/javascript "access plus 1 year"
</IfModule>
# END FBACB
NGINX
location ~* ^(.+)\.(?:\d+)\.(min.js|min.css|js|css)($|\?.*$) {
try_files $uri $1.$2;
}
Host specific notes
Some webhosts need a bit of custom config to get the filename based urls working.
WP Engine
To work on WP-Engine, you’ll need the following redirect added via my.wpengine -> installname -> Redirect rules
Source: ^(.+)\.([0-9\.]+)\.(js|css)$
Dest: $1.$3
Type: break (this is under advanced)
CloudWays
Just works.
Flywheel
Just works.
PHP Fallback
If your webserver is failing to serve assets using url rewriting, the plugin attempts to serve them itsef (ie: via PHP). Obviously this is slow/less than ideal in production (it’ll be much slower) – so you should configure your web server correctly to serve the files. If you see this HTTP header “FBACB-Php-Fallback: yes” on your assets, this applies to you.
Note that hosts are increasingly configured to serve css/js directly from disk and won’t fall back to PHP + WordPress error handling – this fallback then won’t work.
For developers
Is this your plugin? Show off the numbers.
Add a live badge to your site, docs or GitHub README. It updates on its own — no account needed.
Best Filename based asset cache bu… alternatives
All asset plugins →| Rank | Plugin | Active installs |
|---|---|---|
| 2 |
|
40+ |
FAQ
Filename based asset cache busting: quick answers
Straight answers, pulled from live WordPress.org data.
Source: WordPress.org
Is Filename based asset cache bust… free?
Yes. Filename based asset cache bust… is free to download and use from the official WordPress.org plugin directory.
Is Filename based asset cache bust… safe to use in 2026?
Filename based asset cache bust… shows warning signs in 2026 — compare the alternatives below before installing. It runs on 100+ sites, is rated 5/5 and was last updated 7 years ago, and scores 37/100 on our health check.
How many websites use Filename based asset cache bust…?
Filename based asset cache bust… is active on 100+ WordPress websites and has been downloaded 11,111 times since it launched in March 2016. It was downloaded 180 times in the last 30 days.
Does Filename based asset cache bust… work with WordPress 7.1?
Filename based asset cache bust… is officially tested up to WordPress 5.4.26, while the latest release is 7.1.5. It may still work, but try it on a staging site first.
When was Filename based asset cache bust… last updated?
The latest version, 1.4, was released on April 27, 2020 (7 years ago).
Who makes Filename based asset cache bust…?
Filename based asset cache bust… is developed and maintained by benlumley.
What are the best alternatives to Filename based asset cache bust…?
The most popular alternatives to Filename based asset cache bust… are Replace Asset Source (40+ installs).
Powered by PageForge
One template and a spreadsheet. A real page for every search.
PageForge turns each row of a CSV into a WordPress page with its own title, URL, SEO fields and schema, built on the layout you already designed. Free on WordPress.org.
- CSV and XLSX, plus Google Sheets on Professional and Enterprise
- Its own title, URL, SEO fields and schema for every page
- Works with the block editor, Elementor, Divi and Avada
- Free on WordPress.org, no credit card
