{"id":123600,"date":"2020-06-24T14:24:00","date_gmt":"2020-06-24T14:24:00","guid":{"rendered":"https:\/\/wordpress.org\/plugins\/super-light-cache-buster\/"},"modified":"2025-10-19T22:19:36","modified_gmt":"2025-10-19T22:19:36","slug":"super-light-cache-buster","status":"publish","type":"plugin","link":"https:\/\/bal.wordpress.org\/plugins\/super-light-cache-buster\/","author":15324683,"comment_status":"closed","ping_status":"closed","template":"","meta":{"_crdt_document":"","version":"1.4.2","stable_tag":"1.4.2","tested":"6.8.5","requires":"5.0","requires_php":"5.3","requires_plugins":null,"header_name":"Super Light Cache Buster","header_author":"Mwale Kalenga","header_description":"Using less than 10 lines of code, this simple plugin adds random version numbers to CSS & JS assets to vanquish browser caching. Clear your Site and Server-side caches, and this plugin will do the rest.","assets_banners_color":"","last_updated":"2025-10-19 22:19:36","external_support_url":"","external_repository_url":"","donate_link":"","header_plugin_uri":"","header_author_uri":"https:\/\/mwale.me","rating":5,"author_block_rating":0,"active_installs":700,"downloads":13009,"num_ratings":9,"support_threads":0,"support_threads_resolved":0,"author_block_count":0,"sections":["description","installation","changelog"],"tags":{"1.0.0":{"tag":"1.0.0","author":"mwalek","date":"2022-05-06 12:15:55"},"1.0.1":{"tag":"1.0.1","author":"mwalek","date":"2021-05-23 13:32:24"},"1.1.0":{"tag":"1.1.0","author":"mwalek","date":"2022-04-25 03:18:50"},"1.1.1":{"tag":"1.1.1","author":"mwalek","date":"2022-05-06 11:55:09"},"1.1.2":{"tag":"1.1.2","author":"mwalek","date":"2022-11-02 18:23:05"},"1.2.0":{"tag":"1.2.0","author":"mwalek","date":"2022-11-13 11:19:44"},"1.3.0":{"tag":"1.3.0","author":"mwalek","date":"2023-07-31 09:38:02"},"1.4.0":{"tag":"1.4.0","author":"mwalek","date":"2023-12-04 11:01:41"},"1.4.1":{"tag":"1.4.1","author":"mwalek","date":"2024-07-25 09:11:53"},"1.4.2":{"tag":"1.4.2","author":"mwalek","date":"2025-10-19 22:19:36"}},"upgrade_notice":{"1.1.1":"<p>Fixes the visibility of Cache Buster&#039;s status, preventing non-admins from seeing it.<\/p>"},"ratings":{"1":0,"2":0,"3":0,"4":0,"5":9},"assets_icons":[],"assets_banners":[],"assets_blueprints":{},"all_blocks":[],"tagged_versions":["1.0.0","1.0.1","1.1.0","1.1.1","1.1.2","1.2.0","1.3.0","1.4.0","1.4.1","1.4.2"],"block_files":[],"assets_screenshots":[],"screenshots":[],"jetpack_post_was_ever_published":false},"plugin_section":[],"plugin_tags":[162127,146,182356,13248,1221],"plugin_category":[52],"plugin_contributors":[179867],"plugin_business_model":[],"class_list":["post-123600","plugin","type-plugin","status-publish","hentry","plugin_tags-buster","plugin_tags-cache","plugin_tags-cachebuster","plugin_tags-clear","plugin_tags-prevent","plugin_category-performance","plugin_contributors-mwalek","plugin_committers-mwalek"],"banners":[],"icons":{"svg":false,"icon":"https:\/\/s.w.org\/plugins\/geopattern-icon\/super-light-cache-buster.svg","icon_2x":false,"generated":true},"screenshots":[],"raw_content":"<!--section=description-->\n<p>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!<\/p>\n\n<p>With a compressed size of under 30KB, this simple plugin adds random version numbers to CSS &amp; JS assets to prevent browser caching getting in the way of your happiness.<\/p>\n\n<p>Super Light Cache Buster also prevents page caching by using Cache-Control directives.<\/p>\n\n<p>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. \ud83d\ude00<\/p>\n\n<h3>Available Hooks<\/h3>\n\n<p>Cache Buster is becoming more developer friendly. Below you can find the plugin's first hooks and details about them.<\/p>\n\n<pre><code>slcb_allow_in_backend\n<\/code><\/pre>\n\n<ul>\n<li>Filters whether Cache Buster should run (randomize asset version numbers) in the back end.<\/li>\n<li><p>Return <code>true<\/code> to enable Cache Buster. <code>false<\/code> is the default.<\/p>\n\n<p>slcb_version_name<\/p><\/li>\n<li><p>Filters the version name for assets to allow using a custom version name (or number).<\/p><\/li>\n<li>Return the version name e.g. you can use the value <code>2.0.1<\/code>.<\/li>\n<li>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.<\/li>\n<li>This filter overrides the \"Version Name\" setting in the dashboard.<\/li>\n<li>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.<\/li>\n<\/ul>\n\n<h3>Feedback<\/h3>\n\n<ul>\n<li>I am open for your suggestions and feedback - Thank you for using or trying out one of my plugins!<\/li>\n<li>Drop me a line <a href=\"https:\/\/twitter.com\/mwale_and_sons\">@mwale_and_sons<\/a> on Twitter<\/li>\n<li>Follow me on <a href=\"https:\/\/www.linkedin.com\/in\/mwale-kalenga\">my LinkedIn page<\/a><\/li>\n<li>Or visit me at <a href=\"https:\/\/mwale.me\/\">my website<\/a>.<\/li>\n<\/ul>\n\n<h3>Do I have to clear my cache for the plugin to work?<\/h3>\n\n<p>Yes, you should clear your cache(s)! This plugin doesn't clear pages that have already been cached (coming soon, shhh).<\/p>\n\n<p>If you are still being served cached pages after activating the plugin, clear the cache at least once.<\/p>\n\n<p>This will delete all pages\/posts from the cache, and Cache Buster will prevent them from being cached again while the plugin is enabled :-).<\/p>\n\n<h3>Does this plugin work on Multisite?<\/h3>\n\n<p>No, Cache Buster hasn't been tested on Multisite Networks.<\/p>\n\n<!--section=installation-->\n<ol>\n<li>Upload the entire <code>super-light-cache-buster<\/code> folder to the <code>\/wp-content\/plugins\/<\/code> directory.<\/li>\n<li>Activate the plugin through the 'Plugins' menu in WordPress.<\/li>\n<li>Clear all caches on your site and server (hosting).<\/li>\n<li>Cache a break from caching :-).<\/li>\n<\/ol>\n\n<!--section=changelog-->\n<h4>1.4.2<\/h4>\n\n<p>Release Date - October 19, 2025<\/p>\n\n<p><strong>Fixed<\/strong><\/p>\n\n<ul>\n<li>Removed WordPress 6.7 text domain compatibility warning.<\/li>\n<\/ul>\n\n<h4>1.4.1<\/h4>\n\n<p>Release Date - March 18, 2024<\/p>\n\n<p><strong>Fixed<\/strong><\/p>\n\n<ul>\n<li>Resolved PHP 8.2 deprecation warnings.<\/li>\n<\/ul>\n\n<h4>1.4.0<\/h4>\n\n<p>Release Date - October 17, 2023<\/p>\n\n<p><strong>Added<\/strong><\/p>\n\n<ul>\n<li>Introduce the \"Version Name\" setting to allow using a custom version name instead of a random one.<\/li>\n<li>Apply a filter to the Version Name setting to allow overriding it.<\/li>\n<\/ul>\n\n<p><strong>Enhanced<\/strong><\/p>\n\n<ul>\n<li>Improve code architecture.<\/li>\n<li>Add a link to SLCB settings next to the plugin description on the plugins screen.<\/li>\n<\/ul>\n\n<h4>1.3.0<\/h4>\n\n<p>Release Date - June 3, 2023<\/p>\n\n<p><strong>Added<\/strong><\/p>\n\n<ul>\n<li>Introduce a button to refresh the page without caching.<\/li>\n<li>Apply a filter to determine whether Cache Buster runs in the wp-admin area.<\/li>\n<\/ul>\n\n<h4>1.2.0<\/h4>\n\n<p>Release Date - November 13, 2022<\/p>\n\n<p><strong>Added<\/strong><\/p>\n\n<ul>\n<li>Introduce Internationalization (Make Cache Buster translatable).<\/li>\n<li>Introduce a notice to clear the cache when settings are saved.<\/li>\n<\/ul>\n\n<p><strong>Fixed<\/strong><\/p>\n\n<ul>\n<li>Patch XSS vulnerability.<\/li>\n<li>Patch File-Handling vulnerability.<\/li>\n<\/ul>\n\n<p><strong>Enhanced<\/strong><\/p>\n\n<ul>\n<li>Improve inline code documentation.<\/li>\n<li>Improve WordPress Coding Standards conformance.<\/li>\n<\/ul>\n\n<h4>1.1.2<\/h4>\n\n<p>Release Date - September 29, 2022<\/p>\n\n<p><strong>Fixed<\/strong><\/p>\n\n<ul>\n<li>Fix warning\/error thrown when Cache Buster is uninstalled.<\/li>\n<\/ul>\n\n<p><strong>Enhanced<\/strong><\/p>\n\n<ul>\n<li>Use a static method when register_uninstall_hook is invoked.<\/li>\n<\/ul>\n\n<h4>1.1.1<\/h4>\n\n<p>Release Date - May 06, 2022<\/p>\n\n<p><strong>Enhanced<\/strong><\/p>\n\n<ul>\n<li>Don't randomize asset version numbers in the admin area.<\/li>\n<li>Hide Cache Buster's status from non-admins.<\/li>\n<\/ul>\n\n<h4>1.1.0<\/h4>\n\n<p>Release Date - April 25, 2022<\/p>\n\n<p><strong>Added<\/strong><\/p>\n\n<ul>\n<li>Introduce plugin settings to enable\/disable cache prevention and control its intensity.<\/li>\n<li>Introduce a menu item to show Cache Buster's status in the admin bar.<\/li>\n<li>Introduce <code>Cache-Control<\/code> directives.<\/li>\n<\/ul>\n\n<p><strong>Enhanced<\/strong><\/p>\n\n<ul>\n<li>Delete database options when Cache Buster is uninstalled.<\/li>\n<li>Improve overall code efficiency.<\/li>\n<\/ul>\n\n<h4>1.0.0<\/h4>\n\n<p>Release Date - June 24, 2020<\/p>\n\n<ul>\n<li>Initial release<\/li>\n<\/ul>","raw_excerpt":"Stop page &amp; browser caching with random version numbers and Cache-Control directives.","jetpack_sharing_enabled":true,"_links":{"self":[{"href":"https:\/\/bal.wordpress.org\/plugins\/wp-json\/wp\/v2\/plugin\/123600","targetHints":{"allow":["GET"]}}],"collection":[{"href":"https:\/\/bal.wordpress.org\/plugins\/wp-json\/wp\/v2\/plugin"}],"about":[{"href":"https:\/\/bal.wordpress.org\/plugins\/wp-json\/wp\/v2\/types\/plugin"}],"replies":[{"embeddable":true,"href":"https:\/\/bal.wordpress.org\/plugins\/wp-json\/wp\/v2\/comments?post=123600"}],"author":[{"embeddable":true,"href":"https:\/\/bal.wordpress.org\/plugins\/wp-json\/wporg\/v1\/users\/mwalek"}],"wp:attachment":[{"href":"https:\/\/bal.wordpress.org\/plugins\/wp-json\/wp\/v2\/media?parent=123600"}],"wp:term":[{"taxonomy":"plugin_section","embeddable":true,"href":"https:\/\/bal.wordpress.org\/plugins\/wp-json\/wp\/v2\/plugin_section?post=123600"},{"taxonomy":"plugin_tags","embeddable":true,"href":"https:\/\/bal.wordpress.org\/plugins\/wp-json\/wp\/v2\/plugin_tags?post=123600"},{"taxonomy":"plugin_category","embeddable":true,"href":"https:\/\/bal.wordpress.org\/plugins\/wp-json\/wp\/v2\/plugin_category?post=123600"},{"taxonomy":"plugin_contributors","embeddable":true,"href":"https:\/\/bal.wordpress.org\/plugins\/wp-json\/wp\/v2\/plugin_contributors?post=123600"},{"taxonomy":"plugin_business_model","embeddable":true,"href":"https:\/\/bal.wordpress.org\/plugins\/wp-json\/wp\/v2\/plugin_business_model?post=123600"}],"curies":[{"name":"wp","href":"https:\/\/api.w.org\/{rel}","templated":true}]}}