diff --git a/src/service-worker.template.js b/src/service-worker.template.js index 0ccca862..485afba8 100644 --- a/src/service-worker.template.js +++ b/src/service-worker.template.js @@ -15,12 +15,12 @@ limitations under the License. */ const VERSION = "%%VERSION%%"; -const cacheName = `brawl-${VERSION}`; const OFFLINE_FILES = "%%OFFLINE_FILES%%"; // TODO: cache these files when requested // The difficulty is that these are relative filenames, and we don't have access to document.baseURI // Clients.match({type: "window"}).url and assume they are all the same? they really should be ... safari doesn't support this though const CACHE_FILES = "%%CACHE_FILES%%"; +const cacheName = `hydrogen-${VERSION}`; self.addEventListener('install', function(e) { e.waitUntil(