jakecache
jakecache copied to clipboard
Make the swapCache actually work
As the SW can be killed before this call, we might need to store the responses like in an indexedDB, if these can be stored at all. Then remove existing entries and adding the new ones.
Didn't look what you do there yet, but why not simply store in tmp cache?
the SW fetch event seems to consult all caches. It might be that a new one isnt consulted but then I would need to update the SW. Maybe it is easy, I just didn't attempt this yet