- From: mangelozzi <notifications@github.com>
- Date: Thu, 03 Feb 2022 12:31:04 -0800
- To: w3c/ServiceWorker <ServiceWorker@noreply.github.com>
- Cc: Subscribed <subscribed@noreply.github.com>
Received on Thursday, 3 February 2022 20:31:16 UTC
A solution for now to "bypass" the service worker: ```js async function handleFetch(event) { // Example to not cache: const init = { 'cache': 'reload' }; let response = await fetch(url, init); // A way to bypass the service worker if (event.request.cache === "reload") return event.respondWith(....); } ``` -- Reply to this email directly or view it on GitHub: https://github.com/w3c/ServiceWorker/issues/1026#issuecomment-1029374103 You are receiving this because you are subscribed to this thread. Message ID: <w3c/ServiceWorker/issues/1026/1029374103@github.com>
Received on Thursday, 3 February 2022 20:31:16 UTC