fix: Service worker precache delete

fix: pubkey in profile metadata breaks cache refresh
fix: non-specific queries not sent to any relays sometimes
fix: sub-query trace not sending "CLOSE"
This commit is contained in:
2023-05-25 11:05:06 +01:00
parent 988416f353
commit f684658183
4 changed files with 23 additions and 40 deletions

View File

@ -4,12 +4,10 @@ declare var self: ServiceWorkerGlobalScope;
import { clientsClaim } from "workbox-core";
import { ExpirationPlugin } from "workbox-expiration";
import { precacheAndRoute } from "workbox-precaching";
import { registerRoute } from "workbox-routing";
import { StaleWhileRevalidate, CacheFirst } from "workbox-strategies";
clientsClaim();
precacheAndRoute(self.__WB_MANIFEST);
const staticTypes = ["image", "video", "audio"];
registerRoute(