Hi,
I’m developing an app where we make use of an API to fetch large amounts of data and display them in a list.
The API-call itself takes about 3 seconds to load and display the list with the data, after completing the API-request, we store the data into the localstorage so the next time we don’t need to execute the request again. We suspected that storing the dataset into the localstorage would speed up the loading time, but it looks like the size of the data is the problem. Displaying the list based on the localstorage still needs a second to build.
Does anyone have a suggestion on how to improve the performance on handling data and display them in a list with ng-repeat? Is there a way to save the view-state, so it doen’t get destroyed after switching to another view / controller?
Any other solutions / tips would be great!