The #ChromeDevSummit site is live, happening Nov 12-13 in San Francisco, CA Check it out for details and request an invite. We'll be diving deep into modern web tech & looking ahead to the platform's future.
The precaching library intelligently caches and updates files during the install step of your service worker.
When given a list of URL's to precache, this module will go through each URL and check if the URL is already cached and, if it is, compare the hash to see if revision hash has changed.
If the revision is old or the entry isn't cached, this library will make a request for the asset and cache it, ensuring the the browsers HTTP cache is skipped by using Request.cache = 'reload' or adding a cache busting search
parameter to the request.