L6Intermediate

CDN Strategy

20 minOnce

Format: Understand how a CDN speeds up your application.

CDN analogy: Without a CDN = Everyone picks up goods from a warehouse in Beijing; users in Xinjiang wait the longest. With a CDN = Set up distribution centers across the country; users pick up from the nearest one.

What should go on a CDN:

Yes: Static files (images, CSS, JS)
Yes: Font files
Yes: Video/Audio
No: Dynamic API responses (usually not suitable)
Depends: HTML (depends on how frequently it updates)

My Notes