Actions
Story #6344
closedResearch ways to make Require.js load individual Backbone views without preloading all other views and their dependencies
Start date:
Due date:
% Done:
0%
Estimated time:
Updated by Lauren Walker over 8 years ago
- Status changed from New to Resolved
- Assignee set to Lauren Walker
- Target version set to 1.11.2
All the other views are being loaded because the router lists all the major views as dependencies. I changed the router so that the views are only loaded via RequireJS once the user navigates to that view. This cut off about 300ms of "Loading" time. The initial "Loading" page is still displayed for 900-1000ms, while all the Require JS dependencies are loaded - JS libraries, AppView, NavbarView, FooterView, CSS, etc. This still isn't great. I'll create another ticket for improving performance since this particular issue is fixed.
Actions