[Geoserver-devel] [jira] (GEOS-6734) GZIP Compression Filter does not take into account GML output

Fernando González Cortés created an issue

GeoServer / ImprovementGEOS-6734

GZIP Compression Filter does not take into account GML output

Issue Type:

ImprovementImprovement

Assignee:

Andrea Aime

Components:

Global, Main

Created:

24/Oct/14 10:24 AM

Priority:

MinorMinor

Reporter:

Fernando González Cortés

Having problems with huge responses for WMS GetFeatureInfo in GML I was suggested by Andrea in the users mailing list to add .gml. to the list of “compressed-types” in the web.xml declaration of the ZIP filter.

I tried it as follows and it worked:

<filter>
<filter-name>GZIP Compression Filter</filter-name>
<filter-class>org.geoserver.filters.GZIPFilter</filter-class>
<init-param>
<!-- The compressed-types parameter is a comma-separated list of regular expressions.
If a mime type matches any of the regular expressions then it will be compressed.
–>
<param-name>compressed-types</param-name>
<param-value>.gml.,text/.,.*xml.,application/json,application/x-javascript</param-value>
</init-param>
</filter>

Add Comment

Add Comment

This message was sent by Atlassian JIRA (v6.1.6#6162-sha1:7af547c)

Atlassian logo