some network traffic.
showing just headers for the initial CONNECT:
REQ 1
CONNECT clojureverse.org:443 HTTP/1.1
User-Agent: Mozilla/5.0 (Windows NT 10.0; Win64; x64; rv:63.0) Gecko/20100101 Firefox/63.0
Connection: keep-alive
Connection: keep-alive
Host: clojureverse.org:443
RES 1
HTTP/1.1 200 Connection Established
REQ 2:
GET https://clojureverse.org/service-worker-b3132ce44c958878a3dc19776072ad3861a661ca983e3c8f0269c27a439d47d2.js HTTP/1.1
Host: clojureverse.org
User-Agent: Mozilla/5.0 (Windows NT 10.0; Win64; x64; rv:63.0) Gecko/20100101 Firefox/63.0
Accept: text/html,application/xhtml+xml,application/xml;q=0.9,*/*;q=0.8
Accept-Language: en,en-US;q=0.5
Accept-Encoding: gzip, deflate, br
Service-Worker: script
Connection: keep-alive
Cookie: _t=c3b58bc93fb8e48129ae3926c6676c6d; __cfduid=dd2ad00ecc6e6daf1d81d20dc1e27671d1536612308
Pragma: no-cache
Cache-Control: no-cache
RES 2:
HTTP/1.1 200 OK
Date: Fri, 26 Oct 2018 16:11:07 GMT
Content-Type: application/javascript; charset=utf-8
Connection: keep-alive
Vary: Accept-Encoding
X-Frame-Options: SAMEORIGIN
X-XSS-Protection: 1; mode=block
X-Content-Type-Options: nosniff
X-Download-Options: noopen
X-Permitted-Cross-Domain-Policies: none
Referrer-Policy: strict-origin-when-cross-origin
X-Discourse-Route: static/service_worker_asset
Last-Modified: Sat, 23 Jun 2018 10:59:28 GMT
Cache-Control: public, max-age=31556952
X-Request-Id: 834906b4-6490-402d-8540-e7a845411260
CF-Cache-Status: HIT
Expires: Sat, 26 Oct 2019 22:00:19 GMT
Expect-CT: max-age=604800, report-uri="https://report-uri.cloudflare.com/cdn-cgi/beacon/expect-ct"
Server: cloudflare
CF-RAY: 46fe326bac0da701-DUB
Content-Length: 2418
"use strict";function createCacheBustedRequest(e){var t=new Headers({"Discourse-Track-View":"0"}),n=new Request(e,{cache:"reload",headers:t});if("cache"in n)return n;var i=new URL(e,self.location.href);return i.search+=(i.search?"&":"")+"cachebust="+Date.now(),new Request(i,{headers:t})}function isIdle(){return lastAction+idleThresholdTime<Date.now()}function showNotification(e,t,n,i,a,s,o){var c={body:t,icon:n,badge:i,data:{url:o,baseUrl:s},tag:a};return self.registration.showNotification(e,c)}const CACHE_VERSION=1,CURRENT_CACHES={offline:"offline-v1"},OFFLINE_URL="offline.html";self.addEventListener("install",function(e){e.waitUntil(fetch(createCacheBustedRequest(OFFLINE_URL)).then(function(e){return caches.open(CURRENT_CACHES.offline).then(function(t){return t.put(OFFLINE_URL,e)})}).then(function(e){self.skipWaiting()}))}),self.addEventListener("activate",function(e){var t=Object.keys(CURRENT_CACHES).map(function(e){return CURRENT_CACHES[e]});e.waitUntil(caches.keys().then(function(e){return Promise.all(e.map(function(e){if(-1===t.indexOf(e))return caches.delete(e)}))}).then(function(){self.clients.claim()}))}),self.addEventListener("fetch",function(e){/\?.*token/i.test(e.request.url)||("navigate"===e.request.mode||"GET"===e.request.method&&e.request.headers.get("accept").includes("text/html"))&&e.respondWith(fetch(e.request).catch(function(e){if(navigator.onLine)throw new Error(e);return caches.match(OFFLINE_URL)}))});const idleThresholdTime=1e4;var lastAction=-1;self.addEventListener("push",function(e){var t=e.data.json();if(!isIdle()&&t.hide_when_active)return!1;e.waitUntil(self.registration.getNotifications({tag:t.tag}).then(function(e){return e&&e.length>0&&e.forEach(function(e){e.close()}),showNotification(t.title,t.body,t.icon,t.badge,t.tag,t.base_url,t.url)}))}),self.addEventListener("notificationclick",function(e){e.notification.close();var t=e.notification.data.url,n=e.notification.data.baseUrl;e.waitUntil(clients.matchAll({type:"window"}).then(function(e){if(!e.some(function(e){return e.url===n+t&&"focus"in e?(e.focus(),!0):"postMessage"in e&&"focus"in e&&(e.focus(),e.postMessage({url:t}),!0)})&&clients.openWindow)return clients.openWindow(n+t)}))}),self.addEventListener("message",function(e){"lastAction"in e.data&&(lastAction=e.data.lastAction)});
//# sourceMappingURL=/assets/service-worker-b3132ce44c958878a3dc19776072ad3861a661ca983e3c8f0269c27a439d47d2.js.map