So I have a .json file that contains about 10.000 items (about 120.000 rows).
What I do is on load I store the data in localstorage then load it from there… but the app crashes every single time
I understand why, the json is used in 2 tabs and consumes a lot of memory.
Any suggestions how to solve this?
use cordova sqllite plugin or something like pouchdb or anything else using websql
I’m currently using localForage… so when running the app in browser IndexedDB is used… not sure what is actually used when running on the iPhone/emulator…
But you still suggest that I change it?
maybe websql is not used, so i would use another techologie.
like i said… cordova sqlite plugin or pouchdb which uses websql i think.
Did some research and found out that there is a driver for localForage for SQLite
is localforage limited by the max size of localStorage (10 mb I think)?
Well… if the limit is reached then user can be promted to allow additional 10MB