[w3c/ServiceWorker] SW for multilingual website (#968)

Apologies if this issue is already discussed before. 

If you have a service worker registered to `/cart`, It then controls all the requests to `/cart/*`. 

But for multilingual website  `/cart` scope holds true only for the English version, the same url is named differently according to the regional context. The scope here wont match with the registered service worker scope.

The domains might also be different in this case depending on the region. Yes, you could always proxy and respond it with 302 to the valid scope. 

I am really interested how SW behaves in these scenario's and whats the best way to deploy SW here. 



-- 
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/968

Received on Tuesday, 30 August 2016 14:27:46 UTC