[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]
RE: Request: Techniques for reducing the size of XML instances
- From: "HUGHES,MARK (Non-HP-FtCollins,ex1)" <firstname.lastname@example.org>
- To: email@example.com
- Date: Thu, 26 Jul 2001 13:59:40 -0700
>From: Michael Brennan [mailto:Michael_Brennan@allegis.com]
>Plain old vanilla gzip compression works great. If transmitting XML over
>(a very common use case), the HTTP spec explicitly permits compression of
>content. You can include "Content-Encoding: gzip" as an HTTP header, and
>achieve a high-level of compression (80%-90% in my experience) while still
>fully conforming to the HTTP spec. The only downside is that many XML
>messaging toolkits may not properly support this.
Seconded. gzip is simple, fast, ubiquitous, standard, and gives you far
better compression than any binary substitution scheme ever will.
After all, gzip compresses both the tags *and* the content, and can
identify repeated sequences of <tag>content</tag>. Binary encodings
can only compress the tags...
-- <a href="http://kuoi.asui.uidaho.edu/~kamikaze/"> Mark Hughes </a>