Wordpress plugins
Super Light Cache Buster

Super Light Cache Buster

Version : 1.4.0
Tested up to : 6.3.2
Number of download : 13
Author : Mwale Kalenga
Average rating : 5 / 5 on 3 votes 3 votes, 5 avg.rating

Screenshots

Super Light Cache Buster
Super Light Cache Buster
Super Light Cache Buster
Super Light Cache Buster

Can’t see the changes supposedly made by your developer? Or maybe you’re just tired of your site’s annoying cache? Use this plugin to cache a break! With a compressed size of under 30KB, this simple plugin adds random version numbers to CSS & JS assets to prevent browser caching getting in the way of your happiness. Super Light Cache Buster also prevents page caching by using Cache-Control directives. You can completely disable the plugin from the settings page when you are not using it or keep it enabled if the site is under development. 😀 Available Hooks Cache Buster is becoming more developer friendly. Below you can find the plugin’s first hooks and details about them. slcb_allow_in_backend Filters whether Cache Buster should run (randomize asset version numbers) in the back end. Return true to enable Cache Buster. false is the default. slcb_version_name Filters the version name for assets to allow using a custom version name (or number). Return the version name e.g. you can use the value 2.0.1. When this filter is in use, version numbers will not be randomized. Instead, you will have to change the version name manually to rename assets. This filter overrides the “Version Name” setting in the dashboard. The provided version name must be a valid query parameter. As a safety, if the provided string breaks any URLs, it will not be used. Feedback I am open for your suggestions and feedback – Thank you for using or trying out one of my plugins! Drop me a line @mwale_and_sons on Twitter Follow me on my LinkedIn page Or visit me at my website.

Download now