cloudstorm / open-angular-crud

Open Angular Crud is an AngularJS library that automatically creates administration and data manipulation (CRUD) screens from database descriptors
MIT License
6 stars 0 forks source link

Data Loading Optimization #84

Open kdaveed opened 7 years ago

kdaveed commented 7 years ago

Current state: If the user wants to changes between the resources with the tabs, the data is always loaded newly from the server. The following image shows that a set of resources (in this case the categories) are loaded eventually more than once through AJAX:

screen shot 2017-10-09 at 15 45 15

Since the data is stored in JavaScript I believe we could optimize, that each resource is loaded only once from the server, and from the second loading attempt, the data is just retrieved from JavaScript.

@bence-nagy Do you agree?