Repush all

This commit is contained in:
MeBeBruno committed 2026-08-09 16:43:16 +02:00
1 parent 6959030639
commit 1b2128997c
13 files changed
+2187

No files matched your search

+23
View File
@@ -0,0 +1,23 @@
const cache_identifier = "scoicide-squad-cache-version-1";
self.addEventListener("install", function(installation_event) {
installation_event.waitUntil(
caches.open(cache_identifier).then(function(cache_object) {
return cache_object.addAll([
"/",
"/static/stylesheet.css",
"/static/behavior.js",
"/static/logo.svg",
"/static/manifest.json"
]);
})
);
});
self.addEventListener("fetch", function(network_fetch_event) {
network_fetch_event.respondWith(
caches.match(network_fetch_event.request).then(function(cached_response) {
return cached_response || fetch(network_fetch_event.request);
})
);
});