Caching & Performance

HTTP Caching Layers

The hierarchy of caches a response passes through between the origin server and the end user's browser. Layers include the browser cache, service worker cache, CDN edge cache, and reverse proxy cache. Each layer inspects Cache-Control directives to determine whether to store and serve the response. Understanding caching layers helps engineers diagnose stale content bugs and design cache invalidation strategies that avoid unnecessary origin requests.

Related Protocols

See Also