I’m adding a service worker to support offline browsing using window.caches
This works well in a browser
In the capacitor app, it would be nice if the same service worker’s caches would be persistent; no risk of cache being cleared.
What’s the easiest way to set that up? Are there any out of the box solutions that already exist as plugins for example that shadow window.caches and replace it with filesystem access?