Hey guys,
I have used CDN's in the past, and to be honest they've just been a "thing" that I know people use and it made things easier for me.
But how do they work and are they secure?
Hey guys,
I have used CDN's in the past, and to be honest they've just been a "thing" that I know people use and it made things easier for me.
But how do they work and are they secure?
For further actions, you may consider blocking this person and/or reporting abuse
Saurabh Sharma -
Ark Shraier -
Jochem Stoel -
Cat -
Once suspended, scottishross will not be able to comment or publish posts until their suspension is removed.
Once unsuspended, scottishross will be able to comment and publish posts again.
Once unpublished, all posts by scottishross will become hidden and only accessible to themselves.
If scottishross is not suspended, they can still re-publish their posts from their dashboard.
Once unpublished, this post will become invisible to the public and only accessible to Ross Henderson.
They can still re-publish the post if they are not suspended.
Thanks for keeping DEV Community safe. Here is what you can do to flag scottishross:
Unflagging scottishross will restore default visibility to their posts.
Top comments (4)
The key premise is:
They allow your users to get your content faster by hosting it in servers that are spread around many physical locations and delivering from the one that is closest to them.
The way they work from a high level is by storing (caching) copies of your data in those servers. When a user wants to see your cat picture, the DNS layer (the part of the internet that matches domain names with IPs) will find the closest CDN server to you. If that server has the picture that the user is requesting it will just deliver it to them. If it doesn't, the CDN server will request it from the origin server, then deliver it to the user and store a copy for all future users. Those additional users will not have to wait for the roundtrip between the CDN server and the origin server, so they'll get your cat picture faster.
There's way more to it of course, not sure if that's the right abstraction level you were asking for, but that's my rough understanding of CDNs
Hi! Cloudflare (one of the biggest CDNs) have some great resources on their website. You should check these out.
cloudflare.com/learning/cdn/what-i...
Thanks, I'll read through them. Though I was hoping for a short TL;DR aha!
😂 Apologies.
TL;DR: They work by caching your content across lots of servers globally, with the intention of having your content as close to the person requesting it as possible. Most of them are secured by requiring HTTPS connections, and are read only for everyone except the owner.