What should i do when i have long progress when starting application?

what’s the best way when I have application depend on text’s and categories bring from the server when to start the application and store data locally, currently I use LokiJs but I have a problem when I need to bring data when the first starting app without any troubles?

What the best ionic lifeCycle to make long progress when starting application ???

Well I would suggest having a “if-modified-since” Header on your requests to the server. So if the data got not modified you don’t have to request the whole chunk again.

Still the first time your app loads you will have to request the whole data and save it in a file to make it persistent.

thank you, this good idea from server side and I need from frontend development side what the bitter way to get send more request and store the data in local storage.