DELAPARRA
Index
Color
NL
Category: Cloud services

CDN (Content Delivery Network)

Explained by Updated

What is CDN (Content Delivery Network)?

CDN (Content Delivery Network): Serves your static files (images, CSS, JS) from an edge server near the user — dramatically reducing load times globally. (AWS: CloudFront; GCP: Cloud CDN; Azure: Azure CDN / Front Door) A CDN, or Content Delivery Network, stores copies of your files on servers around the world and serves each visitor from the nearest one. Images, stylesheets, scripts and often whole pages load faster because they travel a shorter distance.

Definition source Coders Lingo, CC BY 4.0

Frequently asked questions about CDN (Content Delivery Network)

How is CDN (Content Delivery Network) used in practice?

It also takes load off your own server. A traffic spike from a newsletter or a mention in the news mostly hits the CDN instead of your application.

What should you keep in mind with CDN (Content Delivery Network)?

The main thing to get right is caching. Versioned file names and correct Cache-Control headers let the CDN keep files for a long time, while pages that change get shorter lifetimes. Make sure you can purge the cache after a deploy. Popular options are Cloudflare, Bunny, Fastly, AWS CloudFront and similar services from other cloud providers.

At a glance

CategoryCloud services
Explained by
Updated

More Cloud services terms

All terms starting with C

Skills

Download all skills (zip)

Manuals

Related services

Need any help?

Stuck on one of these in your own project? Tell me what you are working on and I will tell you how I would approach it.