[Geoserver-devel] [jira] Created: (GEOS-1166) Automatically apply compression on selected mime types

Automatically apply compression on selected mime types
------------------------------------------------------

                 Key: GEOS-1166
                 URL: http://jira.codehaus.org/browse/GEOS-1166
             Project: GeoServer
          Issue Type: Bug
          Components: Configuration, WMS
    Affects Versions: 1.5.1
            Reporter: Andrea Aime
            Assignee: Andrea Aime
             Fix For: 1.5.2, 1.6.0

Out of the box we don't compress various highly compressible mime types, such as GML, GeoRSS, KML, javascript.
This is ok on a local network, but it's bad on the internet where we take quite a performance hit due to the extra size of the data we deliver.
We should make it so that if the IP requesting data is not on the local network, then we compress data.

This automatic behaviour should be configurable, so that people with more complex network setups (proxies and the like) can decide
to perform the compression otherwise.

The idea is to be smart out of the box, since most of the times web containers are poorly configured.

Some directions on how to implement such a filter are here:
http://www.onjava.com/pub/a/onjava/2003/11/19/filters.html

--
This message is automatically generated by JIRA.
-
If you think it was sent incorrectly contact one of the administrators: http://jira.codehaus.org/secure/Administrators.jspa
-
For more information on JIRA, see: http://www.atlassian.com/software/jira