auto replace cache on new deploy

This commit is contained in:
2026-04-07 10:35:50 +05:30
parent 0ca694ca99
commit 529b1bad89
3 changed files with 18 additions and 3 deletions

View File

@@ -1,4 +1,4 @@
const CACHE = 'gj-v1'
const CACHE = 'gj-__BUILD_TIME__'
self.addEventListener('install', (e) => {
e.waitUntil(