Project

General

Profile

Actions

Story #6344

closed

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

Added by Lauren Walker over 10 years ago. Updated almost 8 years ago.

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

0%

Estimated time:
Actions #1

Updated by Lauren Walker almost 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

Also available in: Atom PDF