WP-Optimize
95Get caching and more with this powerful cache plugin. Cache, optimize images, clean your database and minify f...
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 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
Where it falls short
Disable Version Caching provides a straightforward solution for managing CSS and JS file versions, though its directory score suggests it may have limitations.
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.
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.
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'
) );
Other plugins for making sites fast.
Get caching and more with this powerful cache plugin. Cache, optimize images, clean your database and minify f...
All-in-one unbeatable acceleration & PageSpeed improvement: caching, image/CSS/JS optimization...
Comprehensive image optimization with WebP, AVIF, Lazy Load, and more. Optimize images automatically for Faste...
Easy to use Under Construction Page & Coming Soon Page. Enable Under Construction Mode in seconds & sh...
Compress and optimize images, enable lazy load, serve WebP & AVIF, and speed up your site with a global im...
Speed up your website by using our WebP & AVIF Converter. Optimize images and serve WebP and AVIF images i...