My website is using WordPress + WP Rocket Cache plugin + Cloudflare CDN Cache. Will Google Optmize works with such a case? In my understanding, as Google Optimize will change the web page source file, but as the page is cached by WP Rocket and Cloudflare, the change will not take immediately until cache expires.

However, I have set the cache to expire after 2 weeks. In such a case, does that mean Google Optimize cannot work for my case?

I ask this question on Google Optimize community at https://support.google.com/optimize/thread/147109611/will-optimize-works-with-cache-plugin-and-systems?hl=en but no one answers

1 Answer 1


I cannot vouche for these exact systems, but in my experience some caching systems will interfere with Optimize.

The solution is usually pretty simple, just make sure you include Optimizes snippet in your cache's save file.

Your Answer

By clicking “Post Your Answer”, you agree to our terms of service, privacy policy and cookie policy

Not the answer you're looking for? Browse other questions tagged or ask your own question.