

Plugin settings page
Disable CSS JS Cache is a lightweight plugin that helps WordPress developers and site administrators control browser caching for CSS and JavaScript files. Ideal for development, testing, or any time you need browsers to always load the freshest files.
?ver= before adding ours, preventing duplicate parametersCache-Control headers for images, CSS, JS, and PDF filesWhen cache busting is enabled, the plugin adds a ?ver= query string to every CSS and JS URL loaded on the frontend. Browsers treat each new URL as a fresh request, ignoring any cached copy. Choose Force Refresh for development (version changes every page load) or Smart Refresh for production (version changes only when the file timestamp changes).
The optional .htaccess browser-caching feature writes Cache-Control headers so returning visitors load static assets straight from their browser cache.
Action
do_action( ‘disable_css_js_cache_cleared’ ) — fires when the Clear Cache button is clicked.
Filters (WordPress core, used by this plugin)
style_loader_src, script_loader_src
DISABLE_CSS_JS_CACHE_VERSION — current plugin version string
DISABLE_CSS_JS_CACHE_FILE — absolute path to the main plugin file
DISABLE_CSS_JS_CACHE_DIR — absolute path to the plugin directory (with trailing slash)<h3>Requirements</h3>
* WordPress 5.5 or higher
* PHP 7.4 or higher
* Apache with mod_headers (browser-caching feature only)
* Writable .htaccess (browser-caching feature only)