Using WP Cloudflare Super Page Cache with WP Rocket

Heads up!
This article is about compatibility with WP Cloudflare Super Page Cache.
This is not the Official Cloudflare plugin.

According to the developers of the WP Cloudflare Super Page Cache plugin, it is fully compatible with WP Rocket.

Integration with WP Rocket

The instructions for integration with WP Rocket are listed in the plugin's FAQ section:

Follow the integration steps listed in the plugin:

  1. Disable WP Rocket and make sure no advanced-cache.php files of other plugins are into wp-content directory
  2. Enable WP Cloudflare Super Page Cache plugin
  3. Enable the Fallback Cache option
  4. Click on Third Party tab
  5. Scroll to WP Rocket Cache Settings section and enable all the options
  6. Purge the cache
  7. If you are not under LiteSpeed Server or are you using LiteSpeed Server version >= 6.0RC1, enable the option Overwrite the cache-control header for Wordpress's pages using web server rules
  8. Enable WP Rocket again
  9. Purge WP Rocket cache

How to disable page cache in WP Rocket

To disable WP Rocket Page Cache you need to switch the corresponding option in the Third Party section of the WP Cloudflare Super Page Cache plugin

With this configuration, the page caching in WP Rocket will be disabled, while optimization is still applied.

Advanced-cache.php warning

If you have a warning regarding the advanced-cache.php file in the dashboard, it is safe to ignore it based on this thread in the plugin support: https://wordpress.org/support/topic/wprocket-related-issues/

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