Re: [ServiceWorker] consider exposing size for cache entries (#587)

> Why not store all media offline? 

My 2 TB dropbox account will probably not fit on my mobile device for some years... That was the case I was referring to.

> Similar to @robrbecker, specifics on amount of space used.. and more importantly: amount available is very important to our use case: caching large binary assets (video, images, audio) for physically installed media (digital signage,kiosks, interactive video walls, etc.) that load via web.. but may have intermittent connection.
>
> Specs. regarding clearing of data from cache also critical. Need to understand exactly how much, and how long data will be cached before we can fully rely on it (100% offline-enabled app). 

Yes, these cases are important too.  I believe the current leading proposal for handling guaranteed persistent storage is in here:

  https://wiki.whatwg.org/wiki/Storage

It sounds like the v1 bits there would help with your use case.

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

Received on Tuesday, 28 April 2015 16:48:55 UTC