Re: [slightlyoff/ServiceWorker] `caches.match` search order (#862)

@wanderview It's not a good idea since there are files which are only available in the older one. You're gonna need more code in this case.

@jakearchibald 
> step 4 may result in V1 receiving V2's assets.

Shouldn't it be the expected behaviour? If developers are afraid of breaking the page, then why don't they use `Cache.match` instead? This behaviour makes `caches.match` much less useful, indeed.

I might be wrong about the "impossible" part. But I think it will be more useful if we reverve the search order. It's would be fine with another flag in the second argument in the worst case.

---
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/862#issuecomment-203993447

Received on Thursday, 31 March 2016 15:48:35 UTC