PageSourceSearch

https://my.arongroups.co/sw.js

js arongroups.co collected 2026-09-25 05:56:07 UTC 772 bytes, 27 lines download raw bytes

1// PWA Service Worker - no cache, no offline page (network only)
2self.addEventListener('install', (event) => {
3  self.skipWaiting();
4});
5
6self.addEventListener('activate', (event) => {
7  event.waitUntil(
8    caches.keys().then((cacheNames) => {
9      return Promise.all(
10        cacheNames.map((cacheName) => caches.delete(cacheName))
11      );
12    }).then(() => self.clients.claim())
13  );
14});
15
16self.addEventListener('fetch', (event) => {
17  const url = new URL(event.request.url);
18  // Let dev/build tooling and HMR bypass the SW (avoids Failed to fetch in development)
19  if (
20    url.pathname.startsWith('/_next/') ||
21    url.pathname.startsWith('/__nextjs') ||
22    url.pathname.includes('webpack-hmr')
23  ) {
24    return;
25  }
26  event.respondWith(fetch(event.request));
27});

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.