Configuration
Configuring and optimising a CDN is where theory meets production. This track takes you from default settings to a tuned, predictable cache that does exactly what you intend.
What this track covers
- Cache-Control in depth; TTLs,
s-maxage,stale-while-revalidate, and the directives that actually change edge behaviour - Header strategy;
Vary, cache keys, cookies, and the headers that silently break caching - Cache invalidation; purging, versioned assets, and avoiding the stampede
- Origin shielding and multi-tier caching
- Debugging; reading edge headers and proving why something did (or didn't) cache
You'll practise all of it in Docker-based labs using Nginx and Varnish before applying it to a real CDN edge.