Page MenuHomePhabricator

Load all required js modules in one request
Closed, InvalidPublic

Description

Flow is currently making multiple requests for javascript on a board page load:

  • ext.flow.editors.none
  • jquery.ui.core
  • ext.flow.base, discussion.editor.parsoid, jquery.scroll
  • ext.flow.header
  • mediawiki.ui.button

The ones related to the editor will be delt with in 61691, the rest should be combined into a single initial request.


Version: unspecified
Severity: normal

Details

Reference
bz61700

Event Timeline

bzimport raised the priority of this task from to Medium.Nov 22 2014, 2:57 AM
bzimport set Reference to bz61700.
bzimport added a subscriber: Unknown Object (MLST).

jquery.ui will remain in a separate request, enforced by ResourceLoader internally with cache fragmentation control groups. Don't worry about that one.

All flow-related JS is now in ext.flow.new (since frontend-rewrite)

(Apart from ext.flow.editor & ext.flow.editors.*, which are loaded independently - see patch 61691)