GZIP filter
If using RequestHeader set syn_urlmap http://<SERVERNAME_intern>:8080/WebOffice; when using an Apache Reverse Proxy you have to increase the GZIP filter limit. The default value defined in C:\Tomcat\webapps\<WebOffice application>\Web-INF\web.xml is 5001 bytes. VertiGIS recommends to increase this value to 10001 bytes by configuring it in C:\Tomcat\webapps\<WebOffice application>\Web-INF\web_user.xml.
Default value in web.xml:
<filter>
<filter-name>GZIPFilter</filter-name>
<filter-class>com.mysynergis.core.controller.filter.GZIPFilter</filter-class>
<init-param>
<param-name>compressionThreshold</param-name>
<param-value>5001</param-value>
<description>perform compression if the response size (in bytes) is larger than the value specified</description>
</init-param>
</filter>
Overwrite the default value in web_user.xml:
<web-app xmlns="https://java.sun.com/xml/ns/javaee xmlns:xsi="http://www.w3.org/2001/XMLSchema-instance"
xsi:schemaLocation="https://java.sun.com/xml/ns/javaee https://java.sun.com/xml/ns/javaee/web-app_3_0.xsd"
version="3.0 metadata-complete=true>
<filter>
<filter-name>GZIPFilter</filter-name>
<filter-class>com.mysynergis.core.controller.filter.GZIPFilter</filter-class>
<init-param>
<param-name>compressionThreshold</param-name>
<param-value>10001</param-value>
<description>perform compression if the response size (in bytes) is larger than the value specified</description>
</init-param>
</filter>
</web-app>
Pay attention to Explicitly Supported Scenarios for https. |