- From: Jake Archibald <notifications@github.com>
- Date: Thu, 06 Oct 2016 02:13:46 -0700
- To: w3c/ServiceWorker <ServiceWorker@noreply.github.com>
Received on Thursday, 6 October 2016 09:14:14 UTC
@delapuente > what are the advantages to allow `.enable()` to be called at any point? None really. By having the setting on the registration we can't really restrict when it can be called without creating a confusing API. We'd have to strongly recommend calling it during `activate`. > And why are you forced to disable preload in the activate event? It can also be disabled at any point, it's just that `activate` is the best time to do it. > Can I disable the feature during a `fetch` event? Yep, whenever you want. -- 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/920#issuecomment-251908637
Received on Thursday, 6 October 2016 09:14:14 UTC