PageSourceSearch

https://gomuda.id/service-worker.js

js gomuda.id collected 2026-10-10 01:02:13 UTC 547 bytes, 10 lines download raw bytes

1// Service worker minimal: TIDAK menyimpan cache & TIDAK mencegat fetch (tanpa
2// handler 'fetch' → navigasi langsung ke jaringan, hindari warning no-op).
3// Saat aktif: hapus semua cache lama (mis. dari versi SW lama yang pernah
4// meng-cache shell) supaya tidak ada halaman basi → blank.
5self.addEventListener('install', (e) => self.skipWaiting());
6self.addEventListener('activate', (e) => e.waitUntil((async () => {
7  const k = await caches.keys();
8  await Promise.all(k.map((x) => caches.delete(x)));
9  await self.clients.claim();
10})()));

Line numbers count LF bytes from the start of the resource, as the search results do. Vendor segments are library code the classifier recognised; they are stored but not indexed. Bytes are shown as Latin1 characters, one per byte.