- From: Jake Archibald <notifications@github.com>
- Date: Mon, 25 Sep 2017 05:52:43 -0700
- To: w3c/ServiceWorker <ServiceWorker@noreply.github.com>
- Cc: Subscribed <subscribed@noreply.github.com>
Received on Monday, 25 September 2017 12:53:05 UTC
> the SW cache may expire That isn't something SW caches can do. I guess you mean you just delete them manually? We have a couple of options. We could provide an API to enable/disable fetch interception, eg `swRegistration.fetch.disable()`, kinda like [navigation preload](https://w3c.github.io/ServiceWorker/#navigation-preload-manager). Or we could extend navigation preload to preload subresources too. I went for `fetchEvent.preloadResponse` figuring that we'll probably end up preloading other kinds of requests too at some point. -- 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/1195#issuecomment-331871178
Received on Monday, 25 September 2017 12:53:05 UTC