Uploaded image for project: 'Commons - UI'
  1. Commons - UI
  2. CUI-62

Ability to load javascript modules asynchronously, as needed

    Details

    • Type: New Feature
    • Status: Closed
    • Priority: Major
    • Resolution: Fixed
    • Affects Version/s: 2.0.4
    • Fix Version/s: None
    • Component/s: common
    • Labels:
      None

      Description

      Presently all dependencies for a given module have to be loaded as soon as the web app is first loaded; this occurs via the "require" invocation within the root main.js file. As applications get more and more complex, this means more and more libraries are needed and therefore (in the current method of loading them) this means that the initial download size for the applications are ever increasing. This is especially problematic for users which may never actually need all of those libraries - lots of wasted bandwidth and slow loading times really degrades their experience.

      To avoid this slow and wasteful loading process, the framework needs to support loading modules only as needed.

        Attachments

          Activity

            People

            • Assignee:
              jake.feasel Jake Feasel
              Reporter:
              jake.feasel Jake Feasel
            • Votes:
              0 Vote for this issue
              Watchers:
              1 Start watching this issue

              Dates

              • Created:
                Updated:
                Resolved: