Re: [w3c/ServiceWorker] Allow overlapping scopes (#1085)

Okay, but I think our use case is slightly different. We have SWs at:

`/`
`/r2/`

The user navigates their browser to `/`. This page then makes a request for `/r2/cat.jpg`.

What we want to happen: SW at `/r2/` handles fetch, based on the fetch URL
What seems to actually happen: SW at `/` handles fetch, based on document URL

Is this correct? If so what is the rationale for the SW based on the document rather than the fetch URL to handle the request? It seems to break this versioning use 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/w3c/ServiceWorker/issues/1085#issuecomment-290643044

Received on Friday, 31 March 2017 07:54:46 UTC