Docs
Docs

sw precache

A node module to generate service worker code that will precache specific resources. - GoogleChrome/sw-precache

sw-precache & gulp

sw-precache is already configured in your gulpfile.js and it reads its configuration from precache-config.json.
You do not have to restart gulp watch after modifying the content of precache-config.json.

By default, we are caching the app shell structure, fonts and the last version of your assets (JavaScript & CSS).

Runtime Caching

Runtime Caching allows you to configure [sw-toolbox]