Curriculum · Module 09, Edge and Networking
CDNs and edge caching
Serve copies from caches near users. A TTL trades origin load against freshness, the cache key decides what counts as the same object, and purge, stale-while-revalidate and a shield shape the rest.
What each topic covers
- A single origin answers every request itself. Distance adds delay, and popular files multiply the load.
- A request is a hit or a miss. The time to live decides how long a copy counts as fresh.
- Run skewed traffic through edge caches and change the TTL, the cache key and the edge count.
- What lowers the hit ratio without anyone changing a setting, and what a long TTL does to freshness.
- Keep the key small so requests share copies, and delete copies on change instead of waiting for a TTL.
- Serve an expired copy at once while one request refreshes it, and put one cache between many edges and the origin.
- Three quick checks on TTL, cache keys and the shield, with the standards behind the lesson.
Topics
Practise this lesson
8 interview questions on cdns and edge caching, with worked answers and sources.
Your progress is saved in this browser. Sign in to keep it on every device. Privacy · Terms