Re: [w3c/ServiceWorker] A way to specify a pattern of destination URLs to hit/skip SW (#1454)

I would vote for not magically stripping headers when in cache.  I don't think we have anything else like that in the platform...

Can someone clarify for me which response the headers are evaluated on?  Is it:

1. The client navigation response (doc html, worker top script, etc)?
2. The service worker script?
3. Something else?

Sorry if that's defined somewhere in here, but the thread has got a bit long.

If the answer is (1), then I assume the service worker FetchEvent handler can manually add/remove these headers before returning a Response back to respondWith(), correct?

-- 
You are receiving this because you are subscribed to this thread.
Reply to this email directly or view it on GitHub:
https://github.com/w3c/ServiceWorker/issues/1454#issuecomment-520843064

Received on Tuesday, 13 August 2019 13:51:39 UTC