Re: [ServiceWorker] Does a SW control a page outside its scope reached by a redirect? (#706)

If URL `A` is in the SW's scope, Fetch will call Handle Fetch with the request upon navigating to that URL. So it's the SW that returns the response to Fetch. Do you have this in mind like the SW returns a custom response with 302? If this happens Fetch will call Handle Fetch again with the redirect URL (`B` in this example) so the Handle Fetch will try the Match Service Worker for that request.

---
Reply to this email directly or view it on GitHub:
https://github.com/slightlyoff/ServiceWorker/issues/706#issuecomment-107776436

Received on Tuesday, 2 June 2015 02:30:20 UTC