Disable CSS JS Cache
Prevent browser caching of CSS and JS files in WordPress and control static asset caching headers.
Solide Wahl
Disable CSS JS Cache is a solid plugin choice in 2026, with a few things worth checking first. It runs on 400+ sites, is rated 5/5 and was last updated 3 months ago, and scores 73/100 on our health check.
- Getestet mit dem neuesten WordPress (7.1)
- Kleine Benutzerbasis (400+ aktive Installationen)
- Bisher sehr wenige Bewertungen
Wie stapelt es sich?
Side-by-side bei Installationen, Updates, Bewertungen und SupportTägliche Downloads
Download-Spitzen folgen normalerweise einer neuen Version - jede Website, die automatisch aktualisiert wird, gilt als Download.
Ranglisten
Where Disable CSS JS Cache stands todayWordPress.org Ranglisten suchen
Live-Position in der Plugin-Suche, Top 100| Stichwort | Position |
|---|---|
| browser cache | #18 |
| Zwischenspeicher | #43 |
| css | #30 |
| javascript | >100 |
| Performance | >100 |
Versionsübernahme
Anteil aktiver Sites pro Release.
Bewertungsaufschlüsselung
★★★★★★★★★★ 5 from 2 reviews
About Disable CSS JS Cache
Aus der offiziellen Readme · V1.2.0Beschreibung
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.
Hauptmerkmale
- Cache Busting — Appends a dynamic version parameter to CSS/JS URLs so browsers skip the cache
- Two Busting Methods — Force Refresh (timestamp, every page load) or Smart Refresh (file modification time, only when the file actually changes)
- File-Type Control — Apply cache busting to both CSS & JS, CSS only, or JS only
- Strip Existing Version — Remove WordPress’s built-in
?ver=before adding ours, preventing duplicate parameters - Per-Page Override — Disable cache busting on individual pages or posts via a meta box in the editor (new in 1.2.0)
- CDN Support — Optionally apply cache busting to external/CDN-hosted files
- Exclude Paths — Skip specific files or URL fragments
- Browser Caching (.htaccess) — Add long-lived
Cache-Controlheaders for images, CSS, JS, and PDF files - Configurable Cache Duration — 60 seconds up to 1 year
- Admin Bar Quick Toggle — One-click enable/disable from the toolbar
- Statistics Dashboard — See how many CSS and JS files have been processed
- Clear Cache Button — Flush WordPress object cache and compatible caching plugins in one click
- Admin Notice — Optional reminder when cache busting is active (handy for production sites)
- Clean Uninstall — Removes all settings and .htaccess rules when the plugin is deleted
Wie es funktioniert
When 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.
Anwendungsfälle
- Development — See theme/plugin changes instantly without clearing your browser cache
- Staging — Verify the latest files are loaded during QA
- Production — Enable browser caching for performance while still being able to bust the cache on demand
- Troubleshooting — Quickly rule out stale-cache issues
Technical Details
Developer Hooks
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
Constants
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)
Installation
Automatic
- Go to Plugins > Add New in your WordPress admin
- Search for Disable CSS JS Cache
- Click Install Now, then Activate
Handbuch
- Download the plugin ZIP
- Go to Plugins > Add New > Upload Plugin
- Upload the ZIP and activate
Konfiguration
- Go to Settings > Disable CSS JS Cache
- Enable Cache Busting and choose a method
- Optionally configure Browser Caching for production performance
- Click Save Settings
Änderungsprotokoll
New per-page override and strip-existing-version features. PHP minimum raised to 7.4. Fully backward compatible — no settings migration needed.
1.2.0
- New: Per-Page Override — disable cache busting on individual posts/pages via an editor meta box
- New: Strip Existing Version option — removes WordPress’s built-in
?ver=before adding ours, preventing duplicate parameters - New: PHP 8.0+ union-type return types and
mixedparameter types throughout - New: Defined
DISABLE_CSS_JS_CACHE_FILEandDISABLE_CSS_JS_CACHE_DIRconstants for easier path handling - New:
dcjc_safe_include()helper replaces inline path-traversal checks in the bootstrap file - Improved: Replaced
str_contains/str_starts_withcalls (PHP 8 builtins, safe on PHP 7.4+) - Improved:
.htaccessrules now usesprintffor cleaner, auditable output - Improved: Settings registration refactored — checkboxes registered in a loop to reduce repetition
- Improved: Sanitize callbacks tightened with explicit allowed-value lists for radio/select fields
- Improved: Admin bar handler correctly defaults
_wpnoncewith null-coalescing operator - Updated: Requires PHP 7.4 (was 7.0) — aligns with WordPress’s own minimum for 6.x/7.x
- Updated: Requires at least WordPress 5.5 (was 5.0)
- Updated: Tested up to WordPress 7.1
1.1.0
- New: Admin Bar Quick Toggle
- New: Statistics Dashboard with reset button
- New: Performance Mode (CSS only / JS only / both)
- New: CDN / external file support
- New: Admin notification when cache busting is active
- New: Clear All Cache button (WordPress object cache + WP Super Cache, W3TC, WP Rocket)
- New: Action hook
disable_css_js_cache_clearedfor developers - Improved: Settings page reorganised into sections
- Fixed: Better local-path detection for subdirectory WordPress installs
1.0.9
- Fixed: Deactivate link not showing in the Plugins list
- Fixed: Fatal errors caused by missing class-existence checks
- Improved: Security — all output escaped; WP_Filesystem used for file I/O;
wp_parse_url()replacesparse_url() - Improved: All settings sanitized with proper callbacks
- Improved: Automatic
.htaccesscleanup on deactivation - Added: Complete
uninstall.phpwith multisite support
1.0.7
- Browser caching headers feature added
1.0.0
- Erste Freigabe
Für Entwickler
Ist das dein Plugin? Zeigen Sie die Zahlen.
Fügen Sie Ihrer Website, Docs oder GitHub Readme ein Live-Badge hinzu. Es wird von selbst aktualisiert - kein Konto erforderlich.
Best Disable CSS JS Cache alternatives
All browser cache plugins →Fragen und Antworten
Disable CSS JS Cache: quick answers
Gerade Antworten, gezogen von Live WordPress.org Daten.
Quelle: WordPress.org
Is Disable CSS JS Cache free?
Yes. Disable CSS JS Cache is free to download and use from the official WordPress.org plugin directory.
Is Disable CSS JS Cache safe to use in 2026?
Disable CSS JS Cache is a solid plugin choice in 2026, with a few things worth checking first. It runs on 400+ sites, is rated 5/5 and was last updated 3 months ago, and scores 73/100 on our health check.
How many websites use Disable CSS JS Cache?
Disable CSS JS Cache is active on 400+ WordPress websites and has been downloaded 6,516 times since it launched in May 2023. It was downloaded 328 times in the last 30 days.
Does Disable CSS JS Cache work with WordPress 7.1?
Yes. The developer has tested Disable CSS JS Cache up to WordPress 7.1.5, the latest release. It requires WordPress 5.5 or newer.
What PHP version does Disable CSS JS Cache need?
Disable CSS JS Cache requires PHP 7.4 or higher. Most hosts run PHP 8.x today, so it works on any modern WordPress hosting.
When was Disable CSS JS Cache last updated?
The latest version, 1.2.0, was released on September 5, 2026 (3 months ago).
Who makes Disable CSS JS Cache?
Disable CSS JS Cache is developed and maintained by Umang Prajapati.
What are the best alternatives to Disable CSS JS Cache?
The most popular alternatives to Disable CSS JS Cache are Prevent Browser Caching (10K+ installs), reBusted! (5K+ installs) and Disable Version Caching (200+ installs).
Angetrieben von PageForge
Eine Vorlage und eine Tabelle. Eine echte Seite für jede Suche.
PageForge Verwandelt jede Zeile eines CSV in eine WordPress-Seite mit eigenem Titel, URL, SEO Felder und Schema entworfen. Kostenlos auf WordPress.org.
- CSV und XLSX, plus Google Sheets auf Beruf und Unternehmen
- seinen eigenen Titel, URL, SEO Felder und Schema für jede Seite
- Arbeitet mit dem Blockeditor, Elementor, Divi und Avada
- Kostenlos auf WordPress.org, keine Kreditkarte

