How AB Split Test Handles Cache Clearing (And When You Might Want to Disable It)
If you’re running A/B tests on a WordPress site, you’re probably using some kind of caching — and if not, you should be.
But here’s the thing: caching can sometimes mess with test variations, causing users to see outdated content or preventing conversions from tracking properly.
That’s why AB Split Test includes a built-in cache-clearing feature. It works quietly in the background to help make sure your test data stays clean.
Why Cache Clearing Matters
Whenever you update a test or the content it’s linked to, the plugin will automatically clear your site’s cache. This ensures that:
-
Visitors actually see the variation they were assigned
-
Your test results reflect real-world behavior
-
Conversion tracking isn’t blocked by stale cached pages
It’s a small but important feature that solves a common issue with A/B testing in WordPress.
What’s Cleared and When
Here’s what AB Split Test clears for you when enabled:
-
The variation page
-
The control page
-
Any associated conversion page
It supports popular caching plugins like WP Rocket, SiteGround Optimizer, NitroPack, and W3 Total Cache out of the box.

When You Might Want to Disable It
If you're running a large site or using custom server-side caching (like Varnish, NGINX, or hosting-level full-page cache), automatic cache clearing may not be ideal.
In those cases, you might prefer to handle cache clearing yourself especially during high-traffic times or when precise control is required.
How to Change the Setting
To disable automatic cache clearing:
-
Go to WP Admin → Settings → AB Split Test
-
Scroll to Cache Clearing
-
Uncheck the box to turn it off
When disabled, just remember to manually clear the cache any time you publish or update:
-
A test
-
A test variation
-
A conversion goal page
This ensures users aren’t being served outdated content.
AB Split Test is built to work well out of the box, but caching setups can vary. If you’re ever unsure whether to let the plugin handle it or take control yourself, don’t hesitate to get in touch with support.