Re: [w3c/ServiceWorker] Eliminating SW startup latency for common case (#920)

> Having a header means that we can ensure that this extra info only gets added when there's an SW, using a cookie means that it'll always be sent.

The header `Service-Worker: navigation-preload` is set in case of preload only. You can add extra information in a cookie and check the value only if the header is present.

@jakearchibald how about change the name `preload` with `prefetch` to align with resources hints?

-- 
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-245877935

Received on Friday, 9 September 2016 10:30:37 UTC