Re: [ServiceWorker] Hints in beforeevicted to let the SW of a web app pick among several house cleaning options? (#611)

The onbeforeevicted and onevicted events are currently listed on the ServiceWorkerGlobalScope.  Does this make sense given that we now have `caches` in windows and other Workers?  Should these events be on `caches` instead?

Also, it seems for this to be useful, content needs some way to tell how much space Cache is being used (#587).

Finally, should all this instead be on some quota interface?  It seems storage space used should include things like IDB, etc.

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

Received on Friday, 30 January 2015 14:38:25 UTC