Re: [w3c/IndexedDB] Prebuilt IndexedDB format (#224)

> Would JSON be sufficient?

JSON or ND-JSON might not be sufficient due to the Date issue... lots of folks are storing Dates in IDB. JSON would be very convenient for generating the files, though. Can we extend JSON with something like `Date(1510258332834)`?

> Do we think browsers would be significantly more efficient than just a small JS library that does this in a worker

Absolutely yes, mostly due to the need to do a `put()` for each individual object, although perhaps that's an argument for `putAll()` or similar. :smiley:

-- 
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/224#issuecomment-343278062

Received on Thursday, 9 November 2017 20:15:53 UTC