Super Light Cache Buster Wordpress Plugin - Rating, Reviews, Demo & Download

Super Light Cache Buster Wordpress Plugin - Rating, Reviews, Demo & Download
No ratings yet
Free
Follow for free plugins, new theme releases and theme news

Plugin 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

Screenshots

No screenshots provided


Reviews & Comments