[XML-DEV Mailing List Archive Home] [By Thread] [By Date] [Recent Entries] [Reply To This Message] RE: Request: Techniques for reducing the size of XML instances
>From: Michael Brennan [mailto:Michael_Brennan@a...] >Plain old vanilla gzip compression works great. If transmitting XML over HTTP >(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>
|
PURCHASE STYLUS STUDIO ONLINE TODAY!Purchasing Stylus Studio from our online shop is Easy, Secure and Value Priced! Download The World's Best XML IDE!Accelerate XML development with our award-winning XML IDE - Download a free trial today! Subscribe in XML format
|