PageSourceSearch

https://nordhealth.com/serviceworker.js

js nordhealth.com collected 2026-09-25 20:16:04 UTC 940 bytes, 38 lines download raw bytes

1addEventListener("install", event => {
2  event.waitUntil(
3    caches.open("nordhealth-d0bb-a7f2-f276").then(function (cache) {
4      return cache.addAll([
5        "/offline/",
6        "/assets/fonts/ArminGrotesk-UltraBold.woff2",
7        "/assets/fonts/ArminGrotesk-SemiBold.woff2",
8        "/assets/fonts/ArminGrotesk-Regular.woff2",
9        "/css/styles.css?v=d0bb-a7f2-f276",
10        "/js/scripts.min.js?v=d0bb-a7f2-f276",
11      ])
12    })
13  )
14})
15
16addEventListener("fetch", event => {
17  const request = event.request;
18
19  // Ignore non-GET requests
20  if (request.method !== "GET") {
21    return;
22  }
23
24  event.respondWith(
25    (async function () {
26      // Try the cache
27      const cachedResponse = await caches.match(event.request)
28      if (cachedResponse) {
29        return cachedResponse
30      }
31      try {
32        return await fetch(event.request)
33      } catch (err) {
34        return caches.match("/offline/")
35      }
36    })()
37  )
38})

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.