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.

by artcom venture GmbH · github.com/artcomventure/wordpress-plugin-autoversion · website

0stars
0forks

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

Readme

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.

Read the full README on GitHub →