From d0fcd18184b48d168bf4407505c05fc06df9e742 Mon Sep 17 00:00:00 2001 From: Pi-Hsun Shih Date: Thu, 16 Apr 2020 21:43:04 +0800 Subject: [PATCH] Update cache name to invalidate old cache. --- service-worker.js | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/service-worker.js b/service-worker.js index fb26b82..f64945b 100644 --- a/service-worker.js +++ b/service-worker.js @@ -1,5 +1,5 @@ // PWA Code adapted from https://github.com/pwa-builder/PWABuilder -const CACHE = "pwa-precache"; +const CACHE = "pwa-precache-v1"; const precacheFiles = [ "/index.html", "/js/predictions.js",