Is WP Rocket compatible with Cloudflare APO?

On October 2020, Cloudflare introduced their new  Automatic Platform Optimization (APO) service.

Unfortunately, Cloudflare APO is not compatible with WP Rocket's Cloudflare add-on yet. This means WP Rocket and Cloudflare's cache layers will not be synced.

Therefore, for websites using dynamic content, you’ll need to disable the WP Rocket Cloudflare add-on and use the official Cloudflare plugin instead.

You can still use WP Rocket but you'll need to manually clear Cloudflare's APO cache, using the official plugin, after you've changed your settings in WP Rocket.

However, if you have a static website, you can enable the Cache Everything feature in your Free Plan, as the Cloudflare APO service is similar to the Cache Everything feature.  The Free plan has 3 page rules that can be used to include or exclude pages that needs to be cached or excluded.
To do so, follow these few steps:

  1. In WP Rocket, enable and set the Cloudflare add-on
  2. Activate the Optimal Settings option in this add-on (recommended)
  3. From the Users > Your Profile page as shown here, uncheck the “Show toolbar when viewing the site” box to prevent the admin bar from being displayed on the front end of the site, in order to avoid the admin bar to be cached
  4. In your Cloudflare account, from the Page Rules tab, activate the Cache Everything feature by creating your page rules.

Remember this solution will only suit static websites. 

As a final note, WP Rocket's product and development teams are already working on the WP Rocket and Cloudflare APO integration.

Did this answer your question? Thanks for the feedback There was a problem submitting your feedback. Please try again later.