Frontend & browser·Storage and platform APIs
you stored whole request and response pairs so the service worker could answer them without the network.
Cache Storage
Also calledCache API, caches
A store of Request-Response pairs, separate from the HTTP cache and controlled entirely by your code. It is what makes offline-first possible, and it obeys no HTTP caching semantics on your behalf: nothing expires unless you delete it. Cache names are the versioning mechanism, so an update means writing a new one and cleaning up the old one on activation.