PageSourceSearch

https://console.pipeops.io/sw.js

js pipeops.io collected 2026-10-03 23:46:39 UTC 920 bytes, 30 lines download raw bytes

1// PipeOps Service Worker v3.0.0 - No-op (PWA shell only)
2// This SW exists solely to satisfy PWA installability requirements.
3// It does NOT intercept fetch requests — caching is handled by
4// HTTP Cache-Control headers configured in next.config.mjs.
5
6// Install - activate immediately
7self.addEventListener('install', () => {
8  self.skipWaiting();
9});
10
11// Activate - clean up all caches from previous SW versions, then take control
12self.addEventListener('activate', (event) => {
13  event.waitUntil(
14    caches
15      .keys()
16      .then((cacheNames) =>
17        Promise.all(cacheNames.map((name) => caches.delete(name)))
18      )
19      .then(() => self.clients.claim())
20  );
21});
22
23// No fetch listener — let the browser handle all requests natively.
24
25// Message handler for forward-compatibility
26self.addEventListener('message', (event) => {
27  if (event.data?.type === 'SKIP_WAITING') {
28    self.skipWaiting();
29  }
30});

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.