Cloudflare slows down my website
# general-help
f
I'm running a silly little expressjs server on a laptop in South Africa The website has about 3ms response time from my computer 5 feet away from laptop normally, but when I proxy through cloudflare then I suddenly get 500ms to 900ms delay. From what I can tell it also routes my website through London instead of a server in South Africa, but even then 500-900 ms delay seems unreasonable Anyone have any clue what's causing this?
l
terrible routing by your ISP
?anycast
h
Take a look here to see why the Cloudflare datacenter you are routed towards isn't always the closest geographically: https://www.cloudflare.com/en-gb/learning/cdn/glossary/anycast-network/
a
It is like handing over general theory of relativity book to someone who asked what is gravity
f
I figured as much, think argo smart routing might help my case?
that's rather mean :(
l
might
but if its cheaper for your ISP to route to london, they will probably keep doing it
f
dang thanks very much for the help, Leo!
I just had my canadian friend test it for me with cloudflare proxy he gets 750ms+ delay but with cloudflare disabled, he gets 300ms delay I can't imagine that this is normal perhaps I have my cloudflare misconfigured?
I did some research, seems this is just a side effect of being a free users instead of a paid one
e
If you consistently get far away datacenters on lower plan levels and closer ones on higher plan levels then yes thats what happening
If its always bad across plan levels then thats your ISP routing
f
Thanks for your reply 🙂 Haven't tested on any higher plan than free plan yet although, using this: I consistently get the server closest to me
3 Views