Look at http://en.wikipedia.org/wiki/HTTP_compression In essence the HTTP client has to send the string
Accept-Encoding: gzip,deflate in its headers. And if the server supports one of the encodings it sends the follwing response in the response headers Vary: Accept-Encoding Content-Encoding: gzip And btw surveys show that gzip performs the best at xml compression. So how about making the server to use gzip compression On Thu, Mar 27, 2008 at 8:23 PM, Tom Hughes <[EMAIL PROTECTED]> wrote: > In message <[EMAIL PROTECTED]> > [EMAIL PROTECTED] wrote: > > > Once the query has completed the output is streamed directly. > > > > I suppose I could build in an option to compress it first. I don't know > how > > much time it would save, but it would certainly free up a bit of > bandwidth. > > Given that the server is apache mod_deflate can do all the work for > you given a suitable configuration (and so long as the browser passes > an Accept-Encoding header to indicate it supports compression). > > BTW, the xapi responses are coming back with a rather bizarre > content type of "html/xml" at the moment... > > Tom > > -- > Tom Hughes ([EMAIL PROTECTED]) > http://www.compton.nu/ > > _______________________________________________ > dev mailing list > [email protected] > http://lists.openstreetmap.org/cgi-bin/mailman/listinfo/dev >
_______________________________________________ dev mailing list [email protected] http://lists.openstreetmap.org/cgi-bin/mailman/listinfo/dev

