Service Worker Cache
A programmable JavaScript cache layer that runs in the browser background and intercepts network requests via fetch event handlers. Service workers enable offline-first strategies, stale-while-revalidate patterns, and custom caching logic not possible with standard Cache-Control headers. The Cache Storage API stores versioned named caches that persist across browser sessions. Service worker caches sit between the browser network stack and the server, making them independent of HTTP cache headers.