Auto Version
Auto-versioning CSS and JavaScript files in WordPress, allowing for cache busting when these files are changed.
by artcom venture GmbH · github.com/artcomventure/wordpress-plugin-autoversion · website
Install
No release zip yet. The repository archive installs, but the folder name will carry the branch suffix and updates will not flow:
wp plugin install https://github.com/artcomventure/wordpress-plugin-autoversion/archive/refs/heads/master.zipReadme
WordPress Auto Version
Auto-versioning CSS and JavaScript files in WordPress, allowing for cache busting when these files are changed.
Installation
- Upload files to the
/wp-content/plugins/directory of your WordPress installation.
- Either download the latest files and extract zip (optionally rename folder)
- ... or clone repository:
$ cd /PATH/TO/WORDPRESS/wp-content/plugins/ $ git clone https://github.com/artcomventure/wordpress-plugin-autoVersion.gitIf you want a different folder name than
wordpress-plugin-autoVersionextend clone command by'FOLDERNAME'(replace the word'FOLDERNAME'by your chosen one):$ git clone https://github.com/artcomventure/wordpress-plugin-autoVersion.git 'FOLDERNAME'
- Activate the plugin through the 'Plugins' screen in WordPress.
- Enjoy
Usage
You can find all settings on the 'Auto Version' settings page listed in the submenu of 'Settings'.

- Disable/Set/Force auto versioning for CSS and/or JavaScript files.
- Optionally add a custom version number. By default it's the modification timestamp of the corresponding file.
- Click 'Save Changes'.
Plugin Updates
Although the plugin is not yet listed on https://wordpress.org/plugins/, you can use WordPress' update functionality to keep it in sync with the files from GitHub.
Please use for this our WordPress Repository Updater with the settings:
- Repository URL: https://github.com/artcomventure/wordpress-plugin-autoVersion/
- Subfolder (optionally, if you don't want/need the development files in your environment): build
We test our plugin through its paces, but we advise you to take all safety precautions before the update. Just in case of the unexpected.
Questions, concerns, needs, suggestions?
Don't hesitate! Issues welcome.