Skip to main content
Skip table of contents

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.

  1. Open <tomcat_home>\conf\server.xml in a text editor.
  2. 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.

  3. Add the parameter compression="on"

    CODE
    <Connector port="8080" protocol="HTTP/1.1"
               connectionTimeout="20000"
               redirectPort="8443"
               compression="on" />
  4. Save your changes and restart the Tomcat service.
JavaScript errors detected

Please note, these errors can depend on your browser setup.

If this problem persists, please contact our support.