Version Assets

Description

Automatically apply a content-based version on all of your assets to optimize browser caching.

Screenshots

  • Diff of affected assets in head element (purple: before, green: after)
  • Diff of affected assets in footer scripts (purple: before, green: after)

Installation

  1. Upload the plugin files to the /wp-content/plugins/version-assets/ directory, or install the plugin through the WordPress plugins screen directly.
  2. Activate the plugin through the Plugins screen in WordPress

Reviews

5 พฤศจิกายน 2020
Just what I was looking for! Useful If you are using a Child Theme which uses the parent theme’s Version instead of something like a hash or timestamp or file modification date
Read all 1 review

Contributors & Developers

“Version Assets” is open source software. The following people have contributed to this plugin.

Contributors

Translate “Version Assets” into your language.

Interested in development?

Browse the code, check out the SVN repository, or subscribe to the development log by RSS.

Changelog

1.1.3 (2024-03-29)

  • Fixed a potential notice from core introduced in WP 5.8. See #9.

1.1.2 (2020-02-02)

  • Fixed a potential notice for script/style aliases which resolved to a local directory.

1.1.1 (2019-12-09)

  • Fixed version rewriting of core assets when WordPress is in its own directory.

1.1 (2019-03-30)

  • Introduce version_assets/asset_version filter.

1.0 (2017-09-18)

  • Initial release!