WordPress plugin intelligence profile

Filename based asset cache busting

Filename based cache busting for WordPress scripts/styles using last modified date.

WP PlugIndex snapshot

Current directory snapshot

Tested up to WordPress 5.4
Current version1.4
WordPress coverageTested up to WordPress 5.4
Minimum stackWP 3.0.1 · PHP —
Directory statusactive
Last directory update27 Apr 20206y ago
Active installations100Adoption metric — not a quality score
WordPress.org rating5.0 / 5 from 5 ratings
Official packageDirect from WordPress.org

Repository metrics are context, not quality scores. Active installations measure adoption and can strongly reflect a plugin’s age and historical popularity. Ratings, recent updates and “Tested up to” metadata also do not guarantee modern code, error-free operation, security, feature completeness or suitability for a particular site. Why active installs don’t tell the whole story →

WP PlugIndex currently records Filename based asset cache busting version 1.4 as active, updated 6y ago and tested up to WordPress 5.4.

Overview

About this plugin

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.

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

htaccess file jsut like WP itself. But if for any reason that doesn’t work for you – here’s what it adds:

c> RewriteEngine On RewriteBase /

$3 [L] </IfModule>

c> ExpiresActive on ExpiresByType text/css "access plus 1 year" ExpiresByType application/javascript "access plus 1 year" </IfModule> # END FBACB

NGINX

$2; }

Host specific notes

Some webhosts need a bit of custom config to get the filename based urls working.

WP Engine

wpengine -> installname -> Redirect rules

$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.

WordPress.org metadata

Plugin tags

Topics listed for this plugin in the WordPress.org directory.

  • asset
  • assets
  • css
  • js
  • version
Compatibility & maintenance

Compatibility & maintenance

Tested up to WordPress 5.4

Not yet marked as tested with WordPress 7.1. WordPress.org currently lists Tested up to 5.4.

Current WordPress releaseWordPress 7.1
WordPress.org Tested up to5.4
Minimum requirementsWordPress 3.0.1 · PHP not listed
Update activity27 Apr 20206y ago

“Tested up to” is directory metadata supplied by the plugin author. WP PlugIndex does not turn an older declaration into a claim that the plugin is incompatible.

Changes recorded by WP PlugIndex

Recent tracked changes

No tracked version or compatibility changes have been recorded by WP PlugIndex yet.

Tracking & source

WP PlugIndex tracks public WordPress.org directory metadata and records selected version, compatibility and availability changes as they are detected.

Plugin watchlist

Watch this plugin

Sign in to your WP PlugIndex account or create a free account. Free accounts can watch up to 5 plugins and see what changed.

Watch limit

Watchlist limit reached

You have reached your current active watch limit.