[Greasemonkey] General XmlHttpRequest question: request body compression?

Julien Couvreur julien.couvreur at gmail.com
Thu Oct 6 09:38:43 EDT 2005


On 10/5/05, Jeff Barr <jeff at vertexdev.com> wrote:
> Do you really want to gzip the request?

Well, in the case of asynchronous interactions with the server the
return payload is usually much smaller than a complete webpage. As the
content gets richer on the client-side, the request body grows (think
of something like Writely or Gmail drafts).

I'm just curious to see if client-side compression (using the fastest
gzip compression level probably) could be used to reduce the time
required for the round-trip.
HTTP 1.1 apparently does support request body compression, according
to the RFC [1].

Cheers,
Julien


[1] http://www.w3.org/Protocols/rfc2616/rfc2616-sec14.html#sec14.11


More information about the Greasemonkey mailing list