Works with your stack
Cookie consent for WP Super Cache
one file, every visitor
WP Super Cache turns your pages into static files and serves the same file to every visitor. A consent banner has to work without the server knowing who is looking.
By Automattic · jetpack.com · WordPress.org
Is this your product? Tell us if anything here is out of date. Write to us
WP Super Cache
WordPress plugin
- Tested version
- 3.1.5
- How
- Tested automatically around each Cookie Rocks version
- Last test
- 7 November 2026
- Latest version
- 3.1.5 tested
- Active installs
- 1,000,000+
What WP Super Cache adds to your visitors’ browser
No trackers In our test of WP Super Cache 3.1.5 on 7 November 2026, the plugin itself added no tracker and no cookie. What you place in your pages with it, such as a video or a map, still counts.
What matters for consent with WP Super Cache
Static files
Most visitors get a plain HTML file, without PHP running at all. Anything decided on the server for one visitor would be served to all.
No script optimisation
WP Super Cache leaves your scripts alone, so the consent script needs no exclusion.
Clear after a change
Static files keep the old banner until they are deleted.
Expert mode
In expert mode, the web server sends the cached file without starting WordPress at all. The page has to be right for everyone, and it is.
Preloading
WP Super Cache can build pages in advance. A page built in advance holds no visitor’s choice.
Cookie Rocks with WP Super Cache
- Clears its page cache when you change something visitors can see.
What our tests found on WP Super Cache
Good to know · Cookie RocksCookie Rocks works with four page caches on a real site
With WP Super Cache, W3 Total Cache, WP Fastest Cache or Breeze serving cached pages, each visitor still gets their own banner and choice.
Seen in our tests, 23 October 2026, Cookie Rocks 3.1.4 / 2.11.0 / 1.5.3 / 2.6.3.
Full detail
On a real site with the page cache of each plugin on and serving (cache marker in the page), the cached page keeps the Cookie Rocks head script and a single Google consent default, each visitor gets their own banner, one visitor's choice is never served to another, and the country rules endpoints answer 404 while the rules are off: WP Super Cache 3.1.4 (PHP mode, preload), W3 Total Cache 2.11.0 (Disk: Enhanced), WP Fastest Cache 1.5.3, Breeze 2.6.3. Three checks of three for each.
Depends on a setting · W3 Total Cache, BreezeW3 Total Cache and Breeze can remove WP Super Cache's .htaccess block
Trying W3 Total Cache or Breeze can remove WP Super Cache's block from .htaccess. Keep a copy of .htaccess before testing page caches.
What to do: Keep a copy of .htaccess before testing page caches and compare it afterwards.
Seen in our tests, 23 October 2026, W3 Total Cache, Breeze 2.11.0 / 2.6.3.
Full detail
On a real site, after W3 Total Cache 2.11.0 then Breeze 2.6.3 were each installed, enabled and removed, the '# BEGIN WPSuperCache ... # END WPSuperCache' block of an inactive WP Super Cache was gone from .htaccess: both plugins rewrite .htaccess. WP Super Cache in simple (PHP) mode keeps working without the block.
Good to know · W3 Total Cache, WP Super Cache, WP Fastest Cache, BreezeFour cache plugins keep the banner, and each visitor gets their own
setting “Page cache”
With W3 Total Cache, WP Super Cache, WP Fastest Cache or Breeze, the cached page keeps the Cookie Rocks banner. One visitor's choice is never served to another from the cache.
Seen in our tests, 17 October 2026, W3 Total Cache, WP Super Cache, WP Fastest Cache, Breeze 2.10.7, 3.1.4, 1.5.3, 2.6.2. Source
Full detail
With the page cache of W3 Total Cache (Disk: Enhanced), WP Super Cache (Simple mode), WP Fastest Cache or Breeze turned on, the page served from the cache keeps the Cookie Rocks banner, and each visitor gets their own banner: a choice made by one visitor is never served to another from the cache.
Good to know · WP Super CacheWP Super Cache sets no cookie and adds no script for visitors
Visitors with a login, comment or registered cookie get a separate copy. Registering a consent cookie that way would split the cache for everyone who has chosen.
Read in its code, 16 October 2026, WP Super Cache 3.1.4.
Full detail
WP Super Cache's code contains no setcookie, document.cookie, localStorage or sessionStorage, adds no script to visitor pages (its delete-cache button loads only for logged-in users) and does not minify, combine or delay scripts. A visitor with a login, post password or comment cookie, or a cookie registered with wpsc_add_cookie, is a known visitor and gets a PHP-served copy keyed to their cookies instead of the static file; registering a consent cookie that way would split the cache for everyone who has chosen.
Good to know · Cookie Rocks ProCookie Rocks Pro clears page caches when an update changes banner values
It clears the caches of seven known plugins, such as WP Rocket and LiteSpeed Cache, at the first request after the update. Host and CDN caches keep the old pages until they expire.
What to do: After an update that changes banner defaults, clear the host or CDN cache by hand.
Read in its code, 15 October 2026, Cookie Rocks Pro.
Full detail
When an update of Cookie Rocks Pro changes or removes a value it sends to visitors (for example the default accent colour), Pro clears the known page caches (WP Rocket, LiteSpeed Cache, W3 Total Cache, WP Super Cache, SiteGround Optimizer, WP Fastest Cache, Breeze) at the first request after the update, with no extra database query and nothing more for visitors. An added value clears nothing. Host and CDN caches are not cleared and keep the old pages until they expire.
Good to know · WP Super CacheWP Super Cache can serve an old home page without the cookie banner
WP Super Cache can keep serving a copy of the home page cached before a cookie banner was turned on: on a real site, visitors arriving on the home page saw no banner although it was enabled, until the page cache was cleared.
Seen in our tests, 14 October 2026, WP Super Cache.
Depends on a setting · WP Super CacheWP Super Cache skips its cache for visits with ad and campaign parameters
setting “Ignore tracking parameters” · by default: off
By default, pages with gclid, fbclid or utm_ parameters are built again on every visit. Its option to ignore them serves the cached page, but server-filled form fields lose them.
Seen in our tests, 9 October 2026, WP Super Cache.
Full detail
By default, WP Super Cache does not serve a cached page when the address carries ad or campaign parameters (gclid, fbclid, utm_...): WordPress builds the page again on every such visit (its rewrite rules require an empty query string). Its option to ignore tracking parameters makes these visits get the cached page; its list can be extended with gad_source, gbraid, wbraid, msclkid and srsltid. A form field filled on the server with the page address then loses these parameters, while values read in the browser (a cookie set by a tag, a field filled by script) keep them.
How we test it
Around each version, with its latest release
Around each Cookie Rocks version, a fresh WordPress installs its latest version from WordPress.org next to Cookie Rocks and runs the same checks. A new version joins the next run on its own.
- WP Super Cache 3.1.5, tested on 7 November 2026.
- The banner shows, the trackers of the test page wait for consent and load after it, and Cookie Rocks raises no PHP error.
- With its page cache switched on, each visitor still gets the banner in the right state.
- Settings of the test: Page cache turned on (Simple mode).
- Last run: WP Super Cache 3.1.5 on 7 November 2026, with WordPress 7.1.3.
Light as a pebble
11.43 kB once, 1.00 kB per page. Measured, not promised.
lighter than the font on this page*
Every kilobyte costs your visitors time and costs you Core Web Vitals. Cookie Rocks adds 11.43 kB to the first page a visitor opens, then 1.00 kB to each page after that, because its files stay in the browser cache. It calls no outside server and never shifts your layout.

11.43 kB First visit, in total
1.00 kB Each next page
7.74 kB JavaScript, first visit
3.48 kB Stylesheet, first visit
0 Requests to other servers
0 Layout shift caused
* The font on this page is Inter, compressed and cut down to the Latin alphabet. It still weighs 26.23 kB.
Page cache
Other plugins of the same kind.
Questions
Will visitors see each other’s choices in a cached page?
No. The choice is read in the browser, after the page arrives, so the cached page is the same for everyone.
What happens after the 30-day trial?
The banner, your visitors’ choices and your proofs of consent keep working. Without a key, most settings lock, updates and support stop. Take a key at any time and everything opens again.
For WP Super Cache sites
Keep your static pages, add consent.
one file, every visitor
Every feature of the complete plugin for 30 days, no card.
- During the trial: everything, including the full settings and the scans
- After 30 days without a key: the banner, your visitors’ choices and your proofs of consent keep working
- What waits for a key: most settings, updates and support

Get your trial key
Your e-mail and your site. Your key arrives as soon as you confirm your e-mail.