What is a CDN?
According to Cloudflare a CDN is:
A content delivery network (CDN) refers to a geographically distributed group of ...
For further actions, you may consider blocking this person and/or reporting abuse
I would definitely re-title this article. "How I setup my own personal CDN" sounds like you're building your own network of servers to cache and serve content, while instead you're configuring a commercially available CDN.
May I suggest something along the lines of "How I sped up my website with a CDN"? I think it would better reflect the content of your otherwise very interesting article
Agree. Came here expecting a DIY CDN setup but not cloudflare and static S3.
Title adjusted to add clarity as recommended 👍
Thank you very much, Joel!
Everyone was right. Totally agree about the title! Cheers 👍🍻
The title is a bit misleading, it sounds like you setup a DIY CDN on your own without using a hosted service like Cloudflare.
Title adjusted to add clarity as recommended 👍
👎 So you DIDN'T create your own personal CDN. You used a shared CDN, one of the most popular ones at that.
Title adjusted to add clarity as recommended 👍
Gonna have to agree with the other comments here and say that this title is a bit too much clickbait
Title adjusted to add clarity as recommended 👍
Agree on the misleading title. If you are however interested in building your own CDN, I recommend investigating trafficcontrol.apache.org/. I use it daily to build CDN from scratch.
While click baits are somewhat normalized, this article title is a pretty good example of notorious click baiting and an absolute waste of time.
Title adjusted to add clarity as recommended 👍
Just curious. Why cloudfare over aws cloudfront? With AWS Cloudfront you could assign a role, and then you would not have to make your S3 bucket private.
There are many options to do this. AWS Cloudfront is also a good solution. Same as the S3 back-end. It could have been any static host.
What I mean is that Cloudfront is configured to pull from S3. So, what benefits did you have by using a different service provider such as Cloudfare? Was it cheaper? Easier to configure? Did you find it faster. or was this one of those "becasue I can" type of things?
For me, this piece with Cloudflare was easier than Cloudfront because there was no setup. All I had to do was change my DNS. If I used Cloudfront, I'd have to add that service and configure it. Cloudfront is also a good option, I just didn't need it for my specific use case.
You are basically serving from one single region. This is not geographically distributed. So a user from Europe gets the content from all the way across the Atlantic.
Because I am using Cloudflare, the requests are proxied through their CDN so it is also geographically distributed!