WPThumbs
Themes Plugins By purpose By industry Best-of lists Fix it guides
Free Plugin by mrkhanakia v1.0.1

Disable Version Caching

Updates the assets version of all CSS and JS files. Shows the latest changes on the site without asking the client to clear browser cache.

Disable Version Caching

The facts

Rating
5★ from 3
Active installs
200+
Price
Free
Last updated
30 Nov 2020
Added
Mar 2019
Requires WP
4.0
Tested up to
WP 5.5.20
Downloads
4,295

Our analysis

AI-assisted

Disable Version Caching is a WordPress plugin designed for frontend developers who want to manage browser caching of CSS and JS files. It allows you to automatically or manually update the version of these assets, ensuring that users see the latest changes without needing to clear their browser cache. The plugin works by appending a unique number to the version parameter in the asset URLs, which prevents caching issues.

This plugin is particularly useful for developers working on sites where frequent updates are made, as it simplifies the process of showing changes to clients. It includes options in the admin panel for configuring asset updates and allows for programmatic version control through code in the theme's functions.php file.

Best for: This plugin suits frontend developers needing to manage asset caching effectively.

What it does well

  • Free to use from the WordPress.org directory
  • Automatically updates asset versions to prevent caching
  • Includes admin panel options for configuration
  • Allows programmatic version control for developers
  • Rated 5 out of 5 from 3 ratings

Where it falls short

  • Limited information on compatibility with newer WordPress versions
  • Directory score of 47/100 indicates potential issues

Verdict

Disable Version Caching provides a straightforward solution for managing CSS and JS file versions, though its directory score suggests it may have limitations.

From the developer

mrkhanakia's own description of Disable Version Caching, lightly tidied.

Are you a frontend developer? Do you want to clear browser cache for all users? Just activate this plugin and show your work!

Disable Version Caching allows you to update the assets version of all CSS and JS files automatically or manually in one click.

Now you can show the latest changes on the site without asking the client to clear the cache.

How it works?

Usually, WordPress loads assets using query param “ver” in the URL (e.g., style.css?ver=4.9.6). It allows browsers to cache these files until the parameter will not be updated.

To prevent caching of CSS and JS files, this plugin adds a unique number (e.g., 1526903434) to the “ver” parameter (e.g., style.css?ver=4.9.6.1526903434) for all links, loaded using wp_enqueue_style and wp_enqueue_script functions.

For developers

By default, this plugin updates all assets files every time a user loads a page and adds options in the admin panel (Settings -> Disable Version Caching) which allows you to configure updating of these files.

But you can also set the version of CSS and JS files programmatically.

Just insert this code in functions.php file of your theme and change the value of assets_version when you need to update assets:

disable_version_caching( array( 
    'assets_version' => '123' 
) );

Read the full description on the official page →

Tagged as

Alternatives

Other plugins for making sites fast.

WP-Optimize

Get caching and more with this powerful cache plugin. Cache, optimize images, clean your database and minify f...

Free 1M+ installs 4.8★ (2,606)
LiteSpeed Cache

All-in-one unbeatable acceleration & PageSpeed improvement: caching, image/CSS/JS optimization...

Free 7M+ installs 4.8★ (2,764)
EWWW Image Optimizer

Comprehensive image optimization with WebP, AVIF, Lazy Load, and more. Optimize images automatically for Faste...

Free 1M+ installs 4.8★ (1,838)
Under Construction

Easy to use Under Construction Page & Coming Soon Page. Enable Under Construction Mode in seconds & sh...

Free 600k+ installs 4.8★ (1,285)
Smush

Smush

93

Compress and optimize images, enable lazy load, serve WebP & AVIF, and speed up your site with a global im...

Free 1M+ installs 4.8★ (6,051)
Converter for Media

Speed up your website by using our WebP & AVIF Converter. Optimize images and serve WebP and AVIF images i...

Free 500k+ installs 4.9★ (1,097)