Page MenuHomePhabricator

Load HTML in parallel with JSON metadata
Closed, DuplicatePublic8 Estimated Story Points

Description

The measurements in T87553 suggest that the time to first byte can be reduced by 1-2s on large pages by loading HTML directly from Parsoid or RESTBase, instead of synchronously wrapping it up in a JSON response in the PHP API. Additionally, there would be CPU time savings on the client by avoiding the need to decode a large JSON blob with embedded HTML.

Loading content directly without mixed content warnings requires a public HTTPS API end point, which is now available at https://rest.wikimedia.org/ (prod release see T89481).

Event Timeline

GWicke raised the priority of this task from to Needs Triage.
GWicke updated the task description. (Show Details)
GWicke added subscribers: GWicke, ori, Catrope.
Restricted Application added a subscriber: Aklapper. · View Herald TranscriptFeb 20 2015, 11:44 PM
Jdforrester-WMF triaged this task as High priority.Mar 2 2015, 12:49 AM
ori moved this task from Backlog to Done on the VisualEditor-Performance board.Mar 20 2015, 12:30 AM
Jdforrester-WMF moved this task from Bug Fixes to Q4 on the VisualEditor board.Mar 25 2015, 9:08 PM