Phonegap store local db

I have a bulk of data in my app. I need it in case the app runs offline.

Currently I have it in a data.js file and use the jQuery data function to manage it. There are 1800 lines like this. ~500kb in total.


Is there a better way to store this data?

My main concern is performance. Not to query some data but the app performance in total like RAM usage and startup time.



My recommendation is for you to pre-populate a SQLite DB and on application startup copy the DB to the correct location so your app can access it. There is a good blog post on this topic at:


Recent Questions

Top Questions

Home Tags Terms of Service Privacy Policy DMCA Contact Us

©2020 All rights reserved.