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.
Description
Description
Details
Details
Related Objects
Related Objects
Event Timeline
Comment Actions
Change 193026 had a related patch set uploaded (by Jforrester):
[WIP] Factor out loading code into TargetLoader
Comment Actions
Change 196584 had a related patch set uploaded (by Catrope):
Send Parsoid API request immediately when user clicks edit
Comment Actions
Change 196584 merged by jenkins-bot:
Send Parsoid API request immediately when user clicks edit
Comment Actions
Change 197414 had a related patch set uploaded (by Jforrester):
Send Parsoid API request immediately when user clicks edit
Comment Actions
Change 197414 merged by jenkins-bot:
Send Parsoid API request immediately when user clicks edit