Thanks for this great plugin. I am receiving the following deprecation notices on PHP 8.2 however, would you mind taking a look?
PHP Deprecated: Creation of dynamic property Super_Light_Cache_Buster::$ver_name_control is deprecated in /app/www/wp-content/plugins/super-light-cache-buster/includes/class-super-light-cache-buster.php on line 55
]]>
Hi,
I just installed your plugin and it works perfectly, thank you so much.
I’ve set my own version name and just wondering after I made an update to my site, should I keep this plugin to be activated? Does that mean my user’s browser will not reload the cache when no change to my version name? Or should I disable this plugin or do some settings after every update, so that it can save my server’s resources and the users don’t have to reload cache every time they enter my site? thank you.
]]>Would you consider adding a filter call for the generation of the randomization string? Something like this:
includes/class-super-light-cache-buster.php: ? ~line 525
$random_number = apply_filters( ‘slcb_version_string’, wp_rand( 1000, 520000000 ) );
We want to use this when we make a css change that browsers have a hard time letting go of, but we don’t want to totally disable caching. Hooking that filter would allow us to return a fixed string so it would reset older cached items but allow forward going caching to work until we changed the string again. This seems to be working in my testing, although I have only done a small amount so far.
]]>Hi, Mwale!
Very useful plugin for developers!
Can we have this enabled in the backend?
I had to comment out this line:
if ( ! is_admin() && ‘option1’ === $randomizer_control[0] ) {
Does this plugin also works with page builders like Elementor? Where in the source code would i see the versioning of CSS and JS files?
Thanks for developing the plugin!
]]>Hi,
I have a suggestion for 2 options that would be useful:
– Clear cache only for specific roles.
– Load a new file only if it has been changed and cache all other files.
Thank you
]]>