Hello,
I use wpForo on my WordPress website together with WP Rocket. The wpForo pages are currently excluded from WP Rocket’s cache.
I would now like to use Cloudflare for my website. Is Cloudflare compatible with wpForo?
If so, are there any recommended Cloudflare settings, cache exclusions or contraindications I should know about to avoid login, display or forum functionality issues?
Thank you for your help.
Hi plop6901,
Great question! Yes, Cloudflare is compatible with wpForo, but like you've already discovered with WP Rocket, you'll need to be strategic about how you configure it to avoid caching issues that could break forum functionality. The good news is that the approach is fairly straightforward once you understand the key principles.
Based on best practices for wpForo, here's a step-by-step guide to properly configure Cloudflare alongside your wpForo installation:
- Access your Cloudflare dashboard and navigate to your domain's settings
- Go to Caching > Cache Rules (or Page Rules if using an older Cloudflare plan) and create exclusions for wpForo-specific pages
- Exclude the following from caching:
- Your forum main page and all forum URLs (typically
/forums/*or similar, depending on your wpForo setup) - User profile pages and account-related URLs
- Any pages with user-specific content or dynamic forum interactions
- Your forum main page and all forum URLs (typically
- Set Cloudflare's caching level to "Cache Everything" for static assets (images, CSS, JavaScript) while keeping dynamic forum pages uncached
- Disable Cloudflare's Rocket Loader in the Speed section, as it can sometimes interfere with forum JavaScript functionality
- Keep WP Rocket's exclusions in place for the same wpForo pages — this creates a layered approach where neither plugin tries to cache sensitive forum content
The key takeaway is that Cloudflare works best with wpForo when you use it primarily for DNS and static content delivery, while letting WP Rocket handle what little caching is appropriate on the WordPress side. This combination actually gives you good performance benefits without compromising forum features like login, user notifications, or real-time activity updates.