News for hackers. Stuff that matters.
Re:Please stop using CDNs for external JavaScript libraries by esperent on Sunday October 11, 2020 @04:59PM (#24749053)
I live in Vietnam and frequently give tech advice to people regarding websites they are developing. Most sites on the works fine, but I can tell straight away when someone has hosted their site like you have described - because it will take >5 minutes to load! And they'll be telling me that it's fine, and I have to explain, yes, it's fine if you only want people in the same country as you to access the site. If you want it to work worldwide, you'll have to do better.

Fortunately, these days that just means creating a free Cloudflare account.

Re:Please stop using CDNs for external JavaScript libraries by basilgohar on Sunday October 11, 2020 @07:31PM (#24750025)
Thanks for sharing your perspective.

In your case, are all CDNs equal? Do I just have to throw my content to the biggest provider?

Don't get me wrong. Disenfranchisng non-Western visitors is the last thing I want to do, but the issue is not CDN or not, it's caching content closer to people whose ISPs don't provide sufficient service outside their own borders.

I dislike that CDNs are the only way around this and I feel like it is centralizing Internet access in an unfavorable way.

Re:Please stop using CDNs for external JavaScript libraries by esperent on Sunday October 11, 2020 @08:46PM (#24750425)
> In your case, are all CDNs equal?

The big data centers in this region are in Singapore and I expect all CDNs have a presence there, so probably. I haven't exactly done any benchmarking though.

> the issue is not CDN or not, it's caching content closer to people whose ISPs don't provide sufficient service outside their own borders.

How would you do this without a CDN (on a small budget)?

Re:Please stop using CDNs for external JavaScript libraries by CodesInChaos on Monday October 12, 2020 @09:35AM (#24754181)
What causes these performance problems? Latency across the globe shouldn't be that bad (200ms or so). Is it limited bandwidth into your country?