Описание тега sw-precache
NoneSw-precache - это инструмент сборки JavaScript, используемый для создания файла сервис-воркера.
The sw-precache
library is a JavaScript build tool. When properly configured, it will generate a service worker file that handles precaching a web app's local, static resources, serving those resources cache-first, and keeping the cached resources up to date.
sw-precache
is frequently used in conjunction with sw-toolbox
, to handle both precaching of local resources and runtime caching of dynamic resources.
sw-precache
's Getting Started guide explains its usage in more detail.