12345678910111213141516171819202122 |
- /**
- * service worker
- */
- var cacheName = '';
- var apiCacheName = '';
- var cacheFiles = [
- '/'
- ];
- // 监听install事件
- self.addEventListener('install', function (e) {
- });
- // 监听activate事件
- self.addEventListener('activate', function (e) {
- });
- self.addEventListener('fetch', function (e) {
- });
|