Shows an opt-in banner and loads scripts either always or only after opt-in. Provides full compatibility with caching plugins since scripts are loaded …
As of April 2026, Caching Compatible Cookie Opt-In and JavaScript is a WordPress cache plugin with 20 active installations and a 5/5 rating from 2 reviews. It has been downloaded 4.4K+ times in total. Requires WordPress 5.0+ and PHP 7.0+. Available on WordPress.org since 2020. Top alternative: WP-Optimize – Cache, Compress images….
This lightweight plugin closes the gap between the annoying need for a cookie-banner to opt-in to some scripts (third party tracking, …) and super fast websites enabled by server-side caching plugins like WP Fastest Cache, W3 Total Cache and so on.
It is very simple:
* A visitor makes his selection by clicking the buttons in the cookie banner (use all cookies or use only necessary cookies)
* The selection is stored in a cookie
* Now after every page load our JS checks the cookie and asynchronously fetches the allowed scripts depending on the users selection
* You can also place shortcodes with inline scripts and html in your content with the same functionality and inline-warnings if no optin was made
* You can also place a shortcode to show the visitor his decision and allow him to…
| WordPress | 5.0+ requiredTested up to 6.8.5 |
| PHP | 7.0+ required |
Plugin data sourced from WordPress.org. Analysis and metrics by PluginSift.