Re: [w3c/ServiceWorker] Provide a simple synchronous k-v storage for ServiceWorker? (#981)

@inexorabletash of IndexedDB fame has proposed a Promise-based transaction-less lighter-weight IndexedDB API at https://gist.github.com/inexorabletash/280016e79188b6a28247 that's very much worth looking at.  See https://github.com/w3c/IndexedDB/issues/91 for discussion and other proposals.

Arguably it would be ideal for IndexedDB to gain such an interface rather than add another storage subsystem or increase dependencies on existing storage systems with downsides like localstorage (all per-origin stored data is loaded into memory at a per-origin granularity and stays there until the pages go away) or cookies (all stored data may be present in memory at all times).

-- 
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/981#issuecomment-249366820

Received on Saturday, 24 September 2016 14:12:11 UTC