3 ms·
The Service Worker API is very general so it's like a one time cost of implementing something like the AC manifest using the API.
The Service Worker API is very general so it's like a one time cost of implementing something like the AC manifest using the API.
This, and IndexedDB API are ugly. Any recommendations on wrapper libraries?
I've been happy with localForage to do simple K/V in Service Workers.
Don't know about cache wrapping libraries... I know e.g. Webpack has an offline plugin thing that works with either AppCache or SW.
Dexie is good. http://dexie.org/ http://dexie.org/
Also, aren't Service Workers transparent, which the AppCache isn't?