Note from 24 July 2020
Looks like #Workbox 6 will improve a few things I struggled with in the past, it became so easy to develop great Web Services! 👍
https://github.com/GoogleChrome/workbox/releases/tag/v6.0.0-alpha.1
Looks like #Workbox 6 will improve a few things I struggled with in the past, it became so easy to develop great Web Services! 👍
https://github.com/GoogleChrome/workbox/releases/tag/v6.0.0-alpha.1
Who still thinks writing a Service Worker for basic features (performance with cache, offline fallback) is cumbersome?
Using #Workbox recipes make it so easy!
Here's the Service Worker for https://pack11ty.dev 😍
https://github.com/nhoizey/pack11ty/blob/main/src/assets/js/service-worker.js
If someone is creating service workers with #Workbox recipes and injectManifest, a build with #esbuild, and doesn't have any issues, I'm interested! 😅
I have a very strange issue:
https://github.com/GoogleChrome/workbox/issues/3207
Bonus points if this is with #Eleventy
Is it ok to use Workbox's injectManifest
with the recent recipes warmCache
option?
I tried this without success in the Service Worker in Pack11ty:
staticResourceCache({
warmCache: self.__WB_MANIFEST,
});
Other caches are warmed up, not this one.
Wondering why my #Workbox based Service Workers breaks images on https://nicolas-hoizey-com.netlify.app/notes/ but not https://nicolas-hoizey.com/notes/
It's exactly the same code. 🤷♂️
Tried to write a fresh new Service Worker with #Workbox 5 and #Rollup (first time ever), almost copy/pasted from what @jeffposnick did in https://github.com/GoogleChromeLabs/so-pwa but I get a strange error reporting mixed content… 😥