Re: [whatwg/storage] Allow 'session' bucket (#71)

> Then developers could store session data in normal indexeddb, and manually delete old sessions.

I think it would be preferable to bias things so that extra manual bookkeeping that requires extra manual cleanup to eliminate the storage use isn't necessary.  This would also aid in more granular eviction since the browser eviction logic would see many small buckets that explicitly are not durable instead of a single large opaque durable-ish bucket.

> along with a way to get all the session IDs that were still potentially accessible (either active, or resurrectable somehow)

This seems like it would massively increase the abilities of sites to track user access patterns beyond current capabilities.

-- 
You are receiving this because you are subscribed to this thread.
Reply to this email directly or view it on GitHub:
https://github.com/whatwg/storage/issues/71#issuecomment-622570057

Received on Friday, 1 May 2020 21:11:47 UTC