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:
- Disable WP Rocket and make sure no
advanced-cache.php
files of other plugins are intowp-content
directory - Enable WP Cloudflare Super Page Cache plugin
- Enable the Fallback Cache option
- Click on Third Party tab
- Scroll to WP Rocket Cache Settings section and enable all the options
- Purge the cache
- 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
- Enable WP Rocket again
- 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/