workbox-precaching | Modules | Chrome for Developers
developer.chrome.com · 4,016 words · saved by 1 readers
Easily precache a set of files and efficiently manage updates to files.
Home Docs Workbox Modules workbox-precaching Stay organized with collections Save and categorize content based on your preferences. One feature of service workers is the ability to save a set of files to the cache when the service worker is installing. This is often referred to as "precaching", since you are caching content ahead of the service worker being used. The main reason for doing this is that it gives developers control over the cache, meaning they can determine when and how long a file is cached as well as serve it to the browser without going to the network, meaning it can be used t
saved by
related reading
- Service worker overview | Workbox | Chrome for Developersdeveloper.chrome.com
- SWR: React Hooks for Data Fetching - Vercelswr.vercel.app
- A service worker's life | Workbox | Chrome for Developersdeveloper.chrome.com
- The service worker lifecycle | Articles | web.devweb.dev
- Service Worker API - Web APIs | MDNdeveloper.mozilla.org
- Code caching for JavaScript developers · V8v8.dev
- The service worker lifecycle | Articles | web.devweb.dev
- Getting Started: Caching | Next.jsnextjs.org
- Archiving URLs · Gwern.netgwern.net
- Your options for preloading images with JavaScript | Alex MacArthurmacarthur.me
- Use the Service Worker Static Routing API to bypass the service worker for specific paths | Blog | Chrome for Developersdeveloper.chrome.com
- Service worker registration | Articles | web.devweb.dev