CDN
A network of servers near users that keep copies of public content, such as images, and serve them quickly.
In more detail
A content delivery network cuts latency and origin bandwidth for public bytes. It must never cache private data such as a bank balance, and content cached at the edge is hard to take back once served.
Examples
Pre-rendered Next.js pages, images and generated OpenGraph images are easy to serve from a CDN.Images behind an edge cache with a 95 percent hit rate cut origin bandwidth twenty times.Related terms
- origin server — The server that actually holds the content or runs the application, as opposed to a proxy or cache in front of it.
- edge network — Servers placed in many locations close to users, which can serve cached content or run small pieces of code with low latency.
- static rendering — Rendering a page to HTML once, at build time or on a schedule, and serving that same result to every visitor.
- cache — A store of earlier answers kept close to where they are needed so they can be reused instead of fetched or computed again.
- egress — Network traffic leaving a system or network, as opposed to ingress traffic coming in.
- hit ratio — The share of requests a cache answers itself without going to the origin.
Taught in
- Peered To Everything, Reaching Nothing — CompTIA Cloud+ (CV0-004) Exam Prep
- Forty Terabytes Nobody Opens: Storage And Databases — CompTIA Cloud+ (CV0-004) Exam Prep
- Six Big Servers Doing Very Little: Rightsizing — CompTIA Cloud+ (CV0-004) Exam Prep
- Seven Wishes: AI Services And The Internet Of Things — CompTIA Cloud+ (CV0-004) Exam Prep
- Architecture Sprint: Ten Faults Before Friday — CompTIA Cloud+ (CV0-004) Exam Prep
- An Image That Runs As Root: Security Best Practices — CompTIA Cloud+ (CV0-004) Exam Prep
- Dynamic Routes: Slugs & generateStaticParams — Next.js 15 & Modern App Router Architecture
- Streaming Endpoints: Server-Sent Events & NDJSON Feeds — Next.js 15 & Modern App Router Architecture
- Metadata API: Dynamic OpenGraph & Head Management — Next.js 15 & Modern App Router Architecture
- Back Of The Envelope Estimation: Storage And Bandwidth — Scalable System Design & Distributed Architecture
- Caching Strategies And Topology — Scalable System Design & Distributed Architecture
References
- MDN glossary: CDN
- Vercel docs: CDN
- Amazon CloudFront Developer Guide: What is Amazon CloudFront?
- AWS: What is a CDN?