https://bundlephobia.com/result?p=date%20fns https://github.com/developit https://whatwebcando.today/ https://developer.mozilla.org/fr/docs/Glossaire/IIFE https://developer.mozilla.org/fr/docs/Web/HTML/Element/template https://developer.mozilla.org/fr/docs/Web/API/Intersection_Observer_API
Service worker life cycle
- download
- register
- install
- activate
https://developers.google.com/web/fundamentals/codelabs/offline/ Only available on https or localhost
Toujours 2 services workers
SW strategies
- Offline first
- Bypass network https://serviceworke.rs/caching-strategies.html https://developers.google.com/web/fundamentals/instant-and-offline/offline-cookbook/
https://developers.google.com/web/tools/workbox/ https://developers.google.com/web/tools/workbox/modules/workbox-cli
yarn global add workbox-cli worbox --version workbox wizard npmx yarn gen runtime caching : https://developers.google.com/web/tools/workbox/guides/common-recipes