Reading large amounts of data from IndexedDB can be slow. The current best approach — batch reading using getAll and getAllKeys with IDBKeyRange — requires two separate requests per batch and doesn't support reverse-order reads. A proposal from the Microsoft Edge team introduces a new getAllRecords() method for IDBObjectStore

7m read timeFrom patrickbrosset.com
Post cover image
Table of contents
Reading a lot of data, fastReading in reverse orderIntroducing getAllRecords()Demo appEnable the feature for testingFeedback

Sort: