News for hackers. Stuff that matters.

Ask HN: Is your blog/website behind a CDN?

I recently released a quick tool [0] to visualise latency for websites from around the world (as tested from AWS Lambda), and was surprised to have folks let me know it convinced them to setup a CDN.

Do you have a CDN in front of your websites, HN?

[0]: https://onlineornot.com/do-i-need-a-cdn

( 13 comments | 3 points | on HN )
Re:Ask HN: Is your blog/website behind a CDN? by jgrahamc on Monday July 03, 2023 @10:30AM (#36573430)
Yes.
Re:Ask HN: Is your blog/website behind a CDN? by Lk7Of3vfJS2n on Monday July 03, 2023 @11:07AM (#36573969)
I'd like to see dynamic code running on a CDN.
Re:Ask HN: Is your blog/website behind a CDN? by hitpointdrew on Tuesday July 04, 2023 @03:23PM (#36591455)
Dynamic how? Like pages that load content from a database? Typically anything “dynamic” is on the backend, all your static shit (images, videos, sounds, fonts, etc.) are in the front end and on a CDN, which will make calls to your backend, which would be on a VM or in a k8s cluster, which in turn may make database calls.
Re:Ask HN: Is your blog/website behind a CDN? by rozenmd on Monday July 10, 2023 @05:11AM (#36663820)
Like Cloudflare Workers? https://workers.cloudflare.com/
Re:Ask HN: Is your blog/website behind a CDN? by syrusakbary on Monday July 10, 2023 @11:25AM (#36667799)
Check out Wasmer Edge... you may find it interesting for deploying things on the Edge with dynamic routing!

https://wasmer.io/products/edge

Re:Ask HN: Is your blog/website behind a CDN? by ad404b8a372f2b9 on Monday July 03, 2023 @11:39AM (#36574479)
Wish you would have posted the aggregated results so we could get an idea.

I suspect if most blogs want to improve their loading time they would have better results getting rid of the 20MB of trackers before breaking the web a little further with stuff like cloudflare.

Re:Ask HN: Is your blog/website behind a CDN? by toastal on Friday July 07, 2023 @02:37AM (#36628017)
The load time will be slower as I have to fill out another hCAPTCHA and go through more DDoS hoops.
Re:Ask HN: Is your blog/website behind a CDN? by cpach on Monday July 03, 2023 @12:22PM (#36575180)
I use AWS Amplify, it uses CloudFront under the hood.
Re:Ask HN: Is your blog/website behind a CDN? by indus on Monday July 03, 2023 @01:32PM (#36576271)
Yes.
Re:Ask HN: Is your blog/website behind a CDN? by muzani on Monday July 03, 2023 @08:29PM (#36580645)
I'm using Netlify (free tier). I assumed that it has a CDN and the tool confirms it, thanks!
Re:Ask HN: Is your blog/website behind a CDN? by nickelcitymario on Tuesday July 04, 2023 @04:09PM (#36591911)
I'm on Substack with a custom domain. It uses its own CDN hosted on S3 I believe.
Re:Ask HN: Is your blog/website behind a CDN? by mattbgates on Wednesday July 05, 2023 @06:31AM (#36598356)
Using Cloudflare for my WP website which recieves over 2 million visitors a month from around the world. Went from crashihng all the time to hardly ever as Cloudflare became very efficient with its cache system.
Re:Ask HN: Is your blog/website behind a CDN? by toastal on Friday July 07, 2023 @01:33AM (#36627606)
CDN for my blog? Nope. That adds complexity and gives power to CDNs. Besides, CDNs and reverse proxies are blocked by SourceHut Pages anyhow (https://srht.site/limitations).