You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
If a site wants to delete a large Cache immediately, they may not want to wait for a GC a run. We should consider allowing them to disconnect their js wrappers or perhaps add a "force" option to the delete() method.
The text was updated successfully, but these errors were encountered:
FWIW, on the Chrome side we've been talking about an internal clear operation that would atomically delete all entries in a cache, and using this in conjunction with delete when the user clears browsing data so that the space is reclaimed without waiting for SW reload/GC, and without introducing a new state.
For the quota eviction or user deletion cases I believe we currently immediately delete and make any use of the Cache object reject with InvalidStateError. Might need to verify that, though.
See:
https://bugs.chromium.org/p/chromium/issues/detail?id=782869#c5
If a site wants to delete a large Cache immediately, they may not want to wait for a GC a run. We should consider allowing them to disconnect their js wrappers or perhaps add a "force" option to the delete() method.
The text was updated successfully, but these errors were encountered: