|
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>
|