WP Manifestindependent plugin directory
manifest / performance / wordpress-plugin-autoversion

Auto Version

Auto-versioning CSS and JavaScript files in WordPress, allowing for cache busting when these files are changed.

★ 0stars

Install

Download source zip No release zip yet

This is the repository archive. It installs, but the folder name will carry the branch suffix and updates will not flow.

Install straight from GitHub with WP-CLI:

wp plugin install https://github.com/artcomventure/wordpress-plugin-autoversion/archive/refs/heads/master.zip
Updates itself. It ships its own updater, so new versions appear under Dashboard → Updates.

WordPress Auto Version

Auto-versioning CSS and JavaScript files in WordPress, allowing for cache busting when these files are changed.

Installation

  1. 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.git

    If you want a different folder name than wordpress-plugin-autoVersion extend clone command by 'FOLDERNAME' (replace the word 'FOLDERNAME' by your chosen one):

    $ git clone https://github.com/artcomventure/wordpress-plugin-autoVersion.git 'FOLDERNAME'
  1. Activate the plugin through the 'Plugins' screen in WordPress.
  2. Enjoy

Usage

You can find all settings on the 'Auto Version' settings page listed in the submenu of 'Settings'.

image

  1. Disable/Set/Force auto versioning for CSS and/or JavaScript files.
  2. Optionally add a custom version number. By default it's the modification timestamp of the corresponding file.
  3. 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:

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.