flâneur — a map of the web's best reading

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

Explore this link on the map →

related reading