- From: Bx <notifications@github.com>
- Date: Sat, 18 Aug 2018 11:47:19 -0700
- To: w3c/IndexedDB <IndexedDB@noreply.github.com>
- Cc: Subscribed <subscribed@noreply.github.com>
Received on Saturday, 18 August 2018 18:47:41 UTC
This is hot! With `expirationTime ` unused or unnecessary databases would be removed, which is now impossible. Maybe with an absoulute time value such as `expirationDate` range of possibilities would be more rewarding. It would be still possible to make it relevant (for example: set expiration to 30 days later). Cookies have something similar. `indexedDB.open(name, { version, expirationDate });` Another solution for this "resource" management would be getting list of all databases names, then deleted the unnecessary ones. However expiration of a database is still better option. When expiration is set, it should be renewed with any next database opening. -- 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/IndexedDB/issues/205#issuecomment-414078740
Received on Saturday, 18 August 2018 18:47:41 UTC