Is Cloudflare and Redis really necessary today?

Sonnie

Active member
We are on version 2.3.5, and we've been using Cloudflare and Redis for several years. However, I am curious if these are really needed any longer.

Our loads are typically on the lower side, although that could be due to having cached systems in place.

It appears Cloudflare also handles threats, but I'm not sure how accurate this really is and if these are real threats. Here's the last month from the stats:

1738692813535.webp
 
You don't actually need Redis - your site will generally work perfectly well without it. However, the point of Redis is to speed up responsiveness of the site by caching certain content and thus avoid database lookups and/or disk IO.

Cloudflare also provides some caching options with the ability to cache static content and serve it to end users from edge locations closer to their location - thus reducing latency and increasing perceived performance. Again, it is not necessary, but it does help the site feel faster to end users.

I do think that Cloudflare threat mitigation is the most important thing here though - both reducing the chance of DDOS attacks impacting on your site, but more importantly - giving you more control over bot traffic, especially malicious and badly behaved bots, but also AI bots scraping your site without your content. It also makes it easy to identify specific issues or attack vectors and block them via the firewall facility.

It's not strictly necessary - your site can function quite well without it - but I think your overall site performance, security and reliability will improve by using it.

I'd say that Cloudflare today is more useful than ever before - bot traffic is increasing significantly, especially with the growth in AI bots - and that is creating a lot of unnecessary extra load on servers.

In summary: neither are strictly necessary, but both serve a useful purpose and personally, I do use both of them with all of my XenForo sites.
 
Redis is essential as is fastcgi caching for guests. I run a tiny 8gb VPS with two 3.5ghz cores, nvme drives, with ES and dozens of add-ons for 400,000 users. I'm not spending like a drunken sailor on resources - a more powerful server - when it's not needed at all. Xenforo will run well on a potato if you can configure a potato well without hungry crap like cPanel involved and cache to lighten the load. At the end of the day that's what caching is for. To reduce the load.

IMG_20250415_110517.webp
 
Last edited:
I'm a cloudflare user. I think it's a great thing to use. It's much better than the question/answer thing we used to use.
You missed the whole point of potential cloudflare advantages in the op's scenario, reducing it to a single feature (that in practice ist totally annoying on many websites) that does not target the question of the op.
 
Back
Top Bottom