[slightlyoff/ServiceWorker] Take control over the very first page (#938)

At this time, ServiceWorker simply ignores the very first page that registers it. It should take control over this page right after it is activated. It doesn't make sense to ignore requests fetched after ServiceWorker is ready to work.

I think it's best to activate ServiceWorker before all. In order to achieve that, it should be able to be registered via http headers instead of Javascript.

---
You are receiving this because you are subscribed to this thread.
Reply to this email directly or view it on GitHub:
https://github.com/slightlyoff/ServiceWorker/issues/938

Received on Monday, 1 August 2016 10:06:20 UTC