Documentation Center

Enabling Compression

When you enable compression, Legacy Content Delivery uses GZip to compress files to improve download times, resulting in enhanced page load times for readers.

About this task

This procedure uses Apache Tomcat as an example for a third party web application server. Refer to the third party web application documentation on how to perform this configuration change.

Procedure

  1. Edit the Tomcat_home/conf/server.xml file.
  2. Change the <Connector> element for your HTTP setting, as shown in bold:
    <Connector port="8080" protocol="HTTP/1.1" 
        connectionTimeout="20000" 
        redirectPort="8443"
        compression="on"
        compressionMinSize="10"
        compressableMimeType="text/html,text/xml,application/xml,text/javascript,text/css,application/x-javascript"
    />
  3. Restart Tomcat.