Course
Caching Strategies End-to-End
A practitioner's guide to HTTP and application caching — correctness boundaries, invalidation patterns, stampede protection, and evidence-driven hit-rate measurement.
Reviews
Enrolled members can rate this course.
No reviews yet.
HTTP Caching Foundations
Build a correct mental model of browser, shared, and CDN caches before touching application state.
- 01Cache-Control Is a Contract, Not a Header SprinkleUnderstand freshness, cacheability, and the difference between browser and shared caches before setting max-age values.24mOpen
- 02ETags, Validators, and Conditional RequestsUse validators to trade bandwidth for correctness and understand when weak etags, Last-Modified, and 304 responses help or hurt.23mOpen
- 03Vary, Cache Keys, Cookies, and CDN BehaviorModel what actually distinguishes one response from another across browsers, shared proxies, CDNs, compression, and authenticated traffic.26mOpen
Application Cache Design
Choose keys, TTLs, data shapes, and read/write patterns that reduce load without creating stale-data footguns.
- 01Cache Keys, TTLs, and the Shape of CacheabilityDesign keys that capture every correctness input and choose TTLs from business tolerance rather than superstition.25mOpen
- 02Read-Through, Write-Through, Write-Behind, and Cache-AsideCompare application caching patterns by consistency behavior, failure modes, and operational complexity.26mOpen
- 03Serialization, Negative Caching, and Hot KeysChoose payload formats deliberately, cache absence safely, and recognize hot-key behavior before it becomes an outage.24mOpen
Invalidation, Protection, and Measurement
Design invalidation deliberately, survive hot-key stampedes, and measure hit ratios with operational evidence.
- 01Invalidation Patterns That Survive RealityUse TTLs, explicit deletes, versioning, events, and dependency mapping as complementary controls rather than pretending one strategy solves invalidation.27mOpen
- 02Stampede Protection and Hot-Key ResiliencePrevent cache-miss dogpiles with request coalescing, locks, stale-while-revalidate, jitter, and deliberate origin protection.25mOpen
- 03Measuring Hit Rates and Cache EffectivenessInstrument hit ratio, miss cost, stale serve rate, latency, and origin protection so cache metrics reflect outcomes rather than vanity percentages.23mOpen