Super Light Cache Buster

Super Light Cache Buster Install Statistics

11
200%
Today: 22 Yesterday: 11 All-time: 7,897 downloads
Super Light Cache Buster Icon

Try plugin: Super Light Cache Buster

We'll create fresh WordPress site with Super Light Cache Buster installed. You have 20 minutes to test the plugin after that site we'll be deleted.

Takes ~10 seconds to install.

About Super Light Cache Buster

Stop page & browser caching with random version numbers and Cache-Control directives.

7


0


0


0


0

updated: 2 months ago
since: 3 years ago
author: Mwale Kalenga

Description

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