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

I think I may already be doing that. But I'm not really worried about the cost of the preflight, since it's less than the cost of a regular navigation.

If I've cached a given article, I guess I could set a cookie with the last-modified time, so the server could shortcut the response. The cookie is better than the header in this case as it can be scoped to a particular article. Ideally last-modified would do the trick, but I guess it's possible for the resource to be in the cache API but not the HTTP cache.

---
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/920#issuecomment-236530398

Received on Monday, 1 August 2016 09:21:20 UTC