Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

GC observability issues with Cache API and estimate() #60

Open
wanderview opened this issue Mar 16, 2018 · 0 comments
Open

GC observability issues with Cache API and estimate() #60

wanderview opened this issue Mar 16, 2018 · 0 comments

Comments

@wanderview
Copy link
Member

Currently the spec requires that a Cache object continue to function even if Caches.delete() has deleted it from CacheStorage. Once the Cache js wrapper is GC'd the backing data can be removed. With Storage.estimate() it is now possible to observe when that GC takes place by polling disk usage.

This was originally noted here in a chromium issue:

https://bugs.chromium.org/p/chromium/issues/detail?id=782869

Since its a polling issue I'm not sure how critical it is. I just wanted to file this so @annevk and others are aware.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Development

No branches or pull requests

1 participant