mirror of
https://github.com/ionic-team/ionicons.git
synced 2026-11-30 16:48:16 +01:00
80 lines
2.2 KiB
JavaScript
80 lines
2.2 KiB
JavaScript
importScripts('workbox-sw.prod.v2.0.1.js');
|
|
|
|
/**
|
|
* DO NOT EDIT THE FILE MANIFEST ENTRY
|
|
*
|
|
* The method precache() does the following:
|
|
* 1. Cache URLs in the manifest to a local cache.
|
|
* 2. When a network request is made for any of these URLs the response
|
|
* will ALWAYS comes from the cache, NEVER the network.
|
|
* 3. When the service worker changes ONLY assets with a revision change are
|
|
* updated, old cache entries are left as is.
|
|
*
|
|
* By changing the file manifest manually, your users may end up not receiving
|
|
* new versions of files because the revision hasn't changed.
|
|
*
|
|
* Please use workbox-build or some other tool / approach to generate the file
|
|
* manifest which accounts for changes to local files and update the revision
|
|
* accordingly.
|
|
*/
|
|
const fileManifest = [
|
|
{
|
|
"url": "assets/icon/favicon.ico",
|
|
"revision": "7aa40cf9dba1fd293fc8bd890106acce"
|
|
},
|
|
{
|
|
"url": "build/docssite.js",
|
|
"revision": "2d4e3ecb1ce373bbbf162b9dfecd675f"
|
|
},
|
|
{
|
|
"url": "build/docssite.registry.json",
|
|
"revision": "d115642fd0adf6504d4a8bd5df960bde"
|
|
},
|
|
{
|
|
"url": "build/docssite/docssite.e26hcszc.pf.js",
|
|
"revision": "bedae075ced0f95086a839c9a86d019a"
|
|
},
|
|
{
|
|
"url": "build/docssite/docssite.ypzmzpql.js",
|
|
"revision": "279da5e7fc84d233c5c51a86cf93b127"
|
|
},
|
|
{
|
|
"url": "build/docssite/eheipi0c.css",
|
|
"revision": "b4afbb64f1eb64168808392ffb5debc5"
|
|
},
|
|
{
|
|
"url": "build/docssite/oeqibtl5.css",
|
|
"revision": "66591f2b35f95ab0aa69523ab9a72281"
|
|
},
|
|
{
|
|
"url": "build/docssite/pzcxpt7v.js",
|
|
"revision": "adb01506d4777067b84868f3ad4ac381"
|
|
},
|
|
{
|
|
"url": "build/docssite/qeg9454v.js",
|
|
"revision": "323c4606031c3e1e7a41591d9725d256"
|
|
},
|
|
{
|
|
"url": "cheatsheet.html",
|
|
"revision": "a6c4cbf944eda6a03a326167bdc2c7f9"
|
|
},
|
|
{
|
|
"url": "icon-comparison.html",
|
|
"revision": "8a270930bf610473e48bed0d00f0766e"
|
|
},
|
|
{
|
|
"url": "index.html",
|
|
"revision": "631a02d7c865f29231ea4968fbfeb86d"
|
|
},
|
|
{
|
|
"url": "mode-cheatsheet.html",
|
|
"revision": "f5bc10012725f26fffa3c49f7877fbc0"
|
|
}
|
|
];
|
|
|
|
const workboxSW = new self.WorkboxSW({
|
|
"skipWaiting": true,
|
|
"clientsClaim": true
|
|
});
|
|
workboxSW.precache(fileManifest);
|