-
- Downloads
UI: Improve startup responsiveness
It now defers loading any data until the UI has been drawn, avoiding a blank screen. Now the dashboard is drawn (~1s) and then filled in with data. The remaining bottleneck is probably the number of XHRs; concatenating JS and templates and fetching switch data in bulk instead of individually would reduce the number of XHRs dramatically.
Showing
- src/main/resources/web/js/main.js 14 additions, 11 deletionssrc/main/resources/web/js/main.js
- src/main/resources/web/js/models/hostmodel.js 1 addition, 5 deletionssrc/main/resources/web/js/models/hostmodel.js
- src/main/resources/web/js/models/switchmodel.js 1 addition, 6 deletionssrc/main/resources/web/js/models/switchmodel.js
Please register or sign in to comment