Indexed DB vs localStorage


#1

Hi,

I’m trying to create an app with ionic framework, and I want to local store a large data, what you prefer to use, is localStoarge or IndexedDB?.
Did Ionic support IndexedDB?

Regards,
Ramzy


#2

I think it is better to avoid the LocalStorage if you have a lot of data to back up.
Take a look at this post:
http://forum.ionicframework.com/t/what-persistent-data-storages-should-i-use/3707
http://forum.ionicframework.com/t/mobile-database/12778


#3

Try this: https://github.com/mozilla/localForage