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.
$.data(db,'Aarstraße',['34236:1','34246:2','34270:4','34290:6',...]);
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:
©2020 All rights reserved.