Quick answer
A CDN is a global network of servers. It stores copies of your files on servers near each visitor, which cuts load time.
What it is
A CDN stores copies of your files on servers around the world. Visitors load from the nearest server, which makes the site faster.
Why it matters
A CDN makes your site fast for everyone, not just people near your main server. It also handles traffic spikes.
How to use it
- Pick a CDN with servers near your audience.
- Cache static files for as long as possible.
- Set up fast cache purges when content changes.
Examples
- Cloudflare, Fastly, and AWS CloudFront are popular CDNs.