AI Search
Classic Search
 Search Phrase:
 Search Type:
Advanced search options
 Search in Forums:
 Search in date period:

 Sort Search Results by:

AI Assistant
Notifications
Clear all

[Solved] Using Cloudflare with wpForo and WP Rocket

3 Posts
2 Users
1 Reactions
277 Views
Posts: 61
Topic starter
Translate
English
Spanish
French
German
Italian
Portuguese
Russian
Chinese
Japanese
Korean
Arabic
Hindi
Dutch
Polish
Turkish
Vietnamese
Thai
Swedish
Danish
Finnish
Norwegian
Czech
Hungarian
Romanian
Greek
Hebrew
Indonesian
Malay
Ukrainian
Bulgarian
Croatian
Slovak
Slovenian
Serbian
Lithuanian
Latvian
Estonian
(@plop6901)
Trusted Member
Joined: 4 years ago
[#73075]

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.


2 Replies
Sofy
Posts: 5848
 Sofy
Admin
Translate
English
Spanish
French
German
Italian
Portuguese
Russian
Chinese
Japanese
Korean
Arabic
Hindi
Dutch
Polish
Turkish
Vietnamese
Thai
Swedish
Danish
Finnish
Norwegian
Czech
Hungarian
Romanian
Greek
Hebrew
Indonesian
Malay
Ukrainian
Bulgarian
Croatian
Slovak
Slovenian
Serbian
Lithuanian
Latvian
Estonian
(@sofy)
Support Team
Joined: 9 years ago

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:

  1. Access your Cloudflare dashboard and navigate to your domain's settings
  2. Go to Caching > Cache Rules (or Page Rules if using an older Cloudflare plan) and create exclusions for wpForo-specific pages
  3. 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
  4. Set Cloudflare's caching level to "Cache Everything" for static assets (images, CSS, JavaScript) while keeping dynamic forum pages uncached
  5. Disable Cloudflare's Rocket Loader in the Speed section, as it can sometimes interfere with forum JavaScript functionality
  6. 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.


Reply
1 Reply
(@plop6901)
Joined: 4 years ago

Trusted Member
Posts: 61
Translate
English
Spanish
French
German
Italian
Portuguese
Russian
Chinese
Japanese
Korean
Arabic
Hindi
Dutch
Polish
Turkish
Vietnamese
Thai
Swedish
Danish
Finnish
Norwegian
Czech
Hungarian
Romanian
Greek
Hebrew
Indonesian
Malay
Ukrainian
Bulgarian
Croatian
Slovak
Slovenian
Serbian
Lithuanian
Latvian
Estonian

@sofy Hi,

Thank you very much for the detailed answer, it's really helpful!


Reply
Share: