Project

General

Profile

Story #6344

Research ways to make Require.js load individual Backbone views without preloading all other views and their dependencies

Added by Lauren Walker about 8 years ago. Updated over 5 years ago.

Status:
Resolved
Priority:
Normal
Assignee:
Target version:
Start date:
Due date:
% Done:

0%

Estimated time:

History

#1 Updated by Lauren Walker over 5 years ago

  • Target version set to 1.11.2
  • Assignee set to Lauren Walker
  • Status changed from New to Resolved

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.

Also available in: Atom PDF