- From: Jake Archibald <notifications@github.com>
- Date: Mon, 25 Jul 2016 06:13:06 -0700
- To: slightlyoff/ServiceWorker <ServiceWorker@noreply.github.com>
Received on Monday, 25 July 2016 13:13:43 UTC
> It might make sense to allow workers to ask for "persistent mode". This is part of the storage spec https://storage.spec.whatwg.org/#persistence and is in development in Chrome. https://www.chromestatus.com/feature/5715811364765696 > or when user clears their cache — similar to IndexedDB data that is persisted across clearing caches Service workers and the cache API shouldn't clear independently of IndexedDB - do you have an example of this happening? > I propose to make it possible to register service worker for different domain than it is being accessed from Pretty sure we'll never do this as it turns a minor XSS into a huge long-term breakage. For the use-case presented, if another origin is able to provide the SW, and presumably therefore the data of the original, it's more like a mirror or simply a "move". In that case it should just work as it does today, just install the app from another site. --- 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/907#issuecomment-234949002
Received on Monday, 25 July 2016 13:13:43 UTC