Cache Storage API

A browser storage API that saves pairs of Request and Response objects in named caches, usually managed by a service worker.

In more detail

caches.open('v2') opens or creates a named cache, cache.put stores a response and cache.match looks one up by URL. It is fully under your code's control and ignores HTTP cache headers, so your code decides when entries expire.

Related terms

Taught in

References