Page MenuHomePhabricator

Combine API requests required to load VE
Closed, ResolvedPublic0 Estimated Story Points

Description

When I load VE on [[en:Gosford]], the following API requests are made:

For a total of five API requests. Couldn't the VisualEditor API module expose an endpoint that combines this metadata into a single response?

Event Timeline

ori assigned this task to Catrope.
ori raised the priority of this task from to Needs Triage.
ori updated the task description. (Show Details)
ori changed Security from none to None.
ori added a subscriber: ori.

This is a duplicate of several tickets, and should probably become a tracking ticket. I'll find them and make them all subtasks of this one.

Also it's worth mentioning that only the action=visualeditor request blocks loading VE (which is reasonable because it delivers the Parsoid HTML). The prop=info and imageinfo requests do not block loading.

Jdforrester-WMF moved this task from To Triage to Bug Fixes on the VisualEditor board.

Change 193026 had a related patch set uploaded (by Jforrester):
[WIP] Factor out loading code into TargetLoader

https://gerrit.wikimedia.org/r/193026