Enable Compression in Tomcat
For performance reasons, you are strongly recommended to configure Tomcat to compress output. Tomcat is not configured to do this by default, and changing this setting can dramatically reduce the time taken for SuperWEB2 to display tabulation results.
- Open <tomcat_home>\conf\server.xml in a text editor.
Locate the
<Connector>
section:CODE<Connector port="8080" protocol="HTTP/1.1" connectionTimeout="20000" redirectPort="8443" />
The above is the default Tomcat configuration, but if you have already made changes to your Tomcat configuration (for example if you have configured Tomcat to support non-ASCII characters in URLs) then this section might contain other parameters.
Add the parameter
compression="on"
CODE<Connector port="8080" protocol="HTTP/1.1" connectionTimeout="20000" redirectPort="8443" compression="on" />
- Save your changes and restart the Tomcat service.