Re: [w3c/ServiceWorker] service Worker cache (#1088)

Hey Ankit!

For *(1)* you can use the [`scope` directive when you register your service worker script](https://developer.mozilla.org/en-US/docs/Web/API/Service_Worker_API/Using_Service_Workers#Registering_your_worker) and put those pages to a different scope not covered by your service worker, or alter the service worker script itself to not cache anything on some pages. What is your use case? Also, are you using any service worker libraries or write your own SW script?

For *(2)*, I would also like to ask what would be the use case of only having a service worker on mobile, but not on desktop?

Also, I'd recommend asking development-related questions [on StackOverflow, using the `service-worker` tag](http://stackoverflow.com/questions/tagged/service-worker) - they might better be able to assist you, this repository is mostly for specification-related issues. ;)

-- 
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/1088#issuecomment-287632033

Received on Sunday, 19 March 2017 17:22:35 UTC