3 ms·
Ah this is really nice but still feels quite verbose (+the web standards are know for their bad documentation for end devs). A small library with good documenta
by franciscop 9y ago
Ah this is really nice but still feels quite verbose (+the web standards are know for their bad documentation for end devs). A small library with good documentation making things easier could kill it, similarly to localstorage, cookies, etc.
- davideast 9y agoI highly recommend using Workbox: https://workboxjs.org/ https://workboxjs.org/. One of the more gnarly parts of ServiceWorker is having to clean up old caches during a version change. The workbox-build module generates revision hashes for your pre-cached assets and handles any cache clean ups for you.