Re: [ServiceWorker] Should window.caches be removed (or readonly) for security reasons? (#698)

Maybe it's best to focus on the root of the problem again: the cache's `put` method.
I think it is not possible to reliably check if a response belongs to a request due to HTTP redirects!?

Therefore the question is, what use cases do we lose if we remove the `put` method?
I think responding with a programmatically created fallback file is not a problem. We don't need the cache's `put` method here, we can simply respond directly from the service worker.


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

Received on Thursday, 28 May 2015 19:08:42 UTC