Re: [w3c/ServiceWorker] Allow caches to opt-in to granular cleanup (#863)

@wanderview I agree that this wouldn't be very useful for compaction on a global level, but what about at a local level?   You can't rely on local storage anyway, so you end up checking if something is in the cache, fetching it if it isn't, and pushing it into the cache.  Managing your resource quota entails purging according to a TTL index or managing increasingly complex accounting on what has been used.  I would love to be able to specify the size of the box and let the browser handle the rest.

-- 
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/863#issuecomment-252406024

Received on Saturday, 8 October 2016 06:15:47 UTC