Update service worker cache version and asset URLs for improved caching
All checks were successful
Deploy / deploy (push) Successful in 2s
All checks were successful
Deploy / deploy (push) Successful in 2s
This commit is contained in:
8
sw.js
8
sw.js
@@ -1,10 +1,10 @@
|
|||||||
const CACHE_NAME = 'chengyu-v1';
|
const CACHE_NAME = 'chengyu-v3';
|
||||||
const ASSETS = [
|
const ASSETS = [
|
||||||
'/',
|
'/',
|
||||||
'/index.html',
|
'/index.html',
|
||||||
'/style.css',
|
'/style.css?v=3',
|
||||||
'/app.js',
|
'/app.js?v=3',
|
||||||
'/data.js',
|
'/data.js?v=3',
|
||||||
'/manifest.json',
|
'/manifest.json',
|
||||||
'/icons/icon-192.png',
|
'/icons/icon-192.png',
|
||||||
'/icons/icon-512.png'
|
'/icons/icon-512.png'
|
||||||
|
|||||||
Reference in New Issue
Block a user