[deleted]
Braden please do not set your permissions to 777. This is really bad practice and the only thing you'll be able to guarantee is that your site is wide open to attack.
Braden please do not set your permissions to 777. This is really bad practice and the only thing you'll be able to guarantee is that your site is wide open to attack.
Cool guys sticking to 0755
@[deleted] with gtmetrix somehow favors its surfers but did you notice using the google insights its something different.
https://developers.google.com/speed/pagespeed/insights/?url=yoursite.com
Braden Yes. Google insights takes a different approach to treating a website and in all honesty, users some fairly bizarre metrics to calculate site speed. In addition, you never know exactly from which location your site is tested from and the speed is often 4G.
Not really a fair representation.
1Dot Braden discuss runs on a very simple digital ocean droplet (sponsored) and we use cloudflare because a few years ago we were under a ddos attack (a custom fail2ban to cloudflare scripts protected us). We don't use any of the additional features cf uses. Not even custom rules or edge workers.
We do use redis, but the reason for that is to have a queue. Obviously sessions and cache are also stored in redis.
So, why I don't use Cloudflare... Some Reasons in Points form.
I've about 7 Website using CF for DNS resolving. At the time I was using CF, two of my website were just Awesome, Fast, Great TTFB but rest were slow. I read some posts saying it's a marketing technique used by CF.
Most of you're familiar with Real-IP issues while using CF.
Reason prefering LiteSpeed : Most of the hosted Website are using Wordpress and LiteSpeed Web Server with LS Cache is like Boon.
I'm using a very Cheap Web Server (3.49 Euro) from Hetzner Cloud with DDOS Protection by Default (Thanks Hetzner).
I'm using IPv6 with HTTP/3 (QUIC) give boost to the performance using UDP.
ISPs of India (AirTel & RailTel) blocks some IP ranges of CF (IPv6 mostly). Reason behind this is Porn Ban and Piracy issues in India.
I'm not saying CF is waste of time and money, I just saying if Your Server is performing great, using CF just to improve 1-2% of TTFB is not a good idea.
Thanks LiteSpeed & Hetzner.
MohdKhan you are in no way obligated to use cloudflare. And it's most definitely not the holy grail solution to web performance. In fact, I can vouch for what others have said about the free tier connectivity being throttled at times. Usually decent hosting - especially if not oversold - will provide the performance you need to run Flarum without issue. Ratings like gtmetrics and the like say nothing about the perceived performance of your users.
Braden discuss has run on a simple 1vCPU, 1GB digital ocean droplet for many years without redis, queue and cloudflare for years.
Braden brother a personal advice to you (as I'm very much experienced and ex curious user), Google Insight results doesn't predict actual user experience because it's a machine results using some standard parameters.
If you really want to provide great Experience to your users. Follow this
Disclaimer: NginX vs LiteSpeed is really a tough Competition but I found LiteSpeed overperform NginX.
Thanks