00 /What You Will Learn
By the end you will be able to
- Configure Nginx proxy_cache to offload read traffic from backend origin servers.
- Differentiate between client browser TTL (max-age) and CDN edge TTL (s-maxage).
- Implement zero-latency stale-while-revalidate background cache revalidation.
- Mask backend origin 500 outages using stale-if-error failover caching.
- Reproduce the dangerous cookie cache leakage vulnerability and implement proxy_cache_bypass.
- Perform targeted cache invalidation without restarting Nginx or flushing the global cache.
Before you start
Finish Lab 03 (HTTP Fundamentals, DNS & Caching Headers), Lab 10 (Nginx Reverse Proxy Basics), and Lab 11 (Nginx Load Balancer) first. You should know what HTTP status codes, reverse proxies, and basic upstream blocks are. Docker Desktop must be running.