Page MenuHomePhabricator

VisualEditor: Use gzip compression when POSTing HTML
Closed, ResolvedPublic

Description

Per Gabriel's report via email, when VE POSTs HTML to api.php , it should ensure that gzip compression is used for the POST body.

TODO: Figure out how to actually tell the browser to do this


Version: unspecified
Severity: enhancement

Details

Reference
bz59659

Event Timeline

bzimport raised the priority of this task from to High.Nov 22 2014, 2:18 AM
bzimport set Reference to bz59659.

This doesn't seem to be supported natively in browsers. Even the XHR2 standard doesn't include support for this. Presumably this is because POST bodies large enough that compression is desired are rare, and because clients don't know in advance whether the server will support compression.

We may be able to do this using a client-side gzip implementation; I'll have to see whether that makes sense. Alternatively, it might be that the savings from fixing bug 59660 and dropping data-parsoid will suffice.

  • This bug has been marked as a duplicate of bug 66914 ***