r/Hosting • • 14d ago

Does server location still matter for website speed when using cloudflare CDN?

3 Upvotes

11 comments sorted by

3

u/CyberHouseChicago 14d ago

Yes it does , your website should be as close to your users as possible

1

u/Better-County8600 14d ago

Daddy Cloudflare is magic

1

u/CommonResolution5126 13d ago

Sua site for estático ou puder ter uma camada de cache forte vá de Cloudflare e seja feliz.

Agora se precisa consultar o backend dinamicamente ou mesmo é uma aplicação, SPA e afins, aí vai importar muito a localização.

1

u/daronhudson 13d ago

CDNs just make connected to the nearest edge server easier and faster. Nothing on this earth can make connecting to your actual website faster other than it being physically closer to the user. We’re quite literally limited by the speed of light. If it takes someone from the eastern hemisphere 200ms to get a reply back from your server in the western hemisphere, a CDN doesn’t change that. It also has to travel the same distance to get to you.

1

u/No_Hold_329 13d ago

Absolutely, server location still matters. Cloudflare does a great job caching static content closer to visitors, but anything that needs to reach your origin server, like database queries, logins, or dynamic pages, is still affected by distance and network latency. If most of your visitors are in the US, I'd still recommend hosting there. A CDN helps tremendously, but it doesn't completely eliminate the importance of where your server is located.

1

u/saeedashifahmed 12d ago

Absolutely, it matters. But Cloudflare and CloudFronts doea a very good job. Still, I would recommend to stay as closer as possible with the datacenter.

1

u/dronostyka 12d ago

It does matter for server based operations. Any dynamic server side webpage will suffer higher latency if the server is far away.

Cloudflare will cache the static content only

1

u/MoobsTV 12d ago

Yes location matters, a CDN does not serve everything to clients.