using the cache api of the browser
https://www.snipbits.dev/cache-api-javascript
Tags: javascript, cache, browser, api