News for hackers. Stuff that matters.
Re:LocalForage – An asynchronous data store with a simple, l... by fabrice_d on Saturday July 26, 2014 @11:59PM (#8091919)
Because: 1) localStorage is limited to 5-10MB depending on the user agent. You may need more! 2) localStorage only stores strings, and json stringification and parsing is way less efficient than just dealing with objects in indexedDB.
Re:LocalForage – An asynchronous data store with a simple, l... by mzarate06 on Sunday July 27, 2014 @01:30AM (#8092077)
Plus, local storage doesn't support async operations; it's synchronous only.