Friday, December 28, 2007

[Article] How to enable HTTP Compression for OGC WMS XML data

With mobile client, data size is the one of the most important factor. For this reason, XML is not a good data format because of its burden. But thanks to HTTP Compression, now we can optimize OGC WMS XML response data to save bandwidth.

HOW TO enable HTTP compression in popular web servers:
Apache Tomcat HTTP Connector
Apache Module mod_deflate configuration
Enabling HTTP Compression in IIS 6.0

Make sure you enable HTTP Compression for these MIME-Types:
application/vnd.ogc.wms_xml,text/xml,text/plain,application/xml,application/vnd.google-earth.kml+xml

JVNMobileGIS will support GZIP in the next released version.

1 comment: