Right now, when the user clicks edit, we first load the ViewPageTarget code, then that code sends the Parsoid API request. This means that, on a cold cache, we have to wait for two network requests to complete before we have the HTML and can start setting up the editor. Instead, we should send the API request immediately and load the rest of the VE code in parallel.
Related Gerrit Patches:
|mediawiki/extensions/VisualEditor : master||Send Parsoid API request immediately when user clicks edit|
|mediawiki/extensions/VisualEditor : wmf/1.25wmf21||Send Parsoid API request immediately when user clicks edit|