Changeset 23778

Show
Ignore:
Timestamp:
15.03.2011 16:04:22 (8 years ago)
Author:
davidb
Message:

Added support for g-zip compression on files over a 512KB threshold, as per investigation by Steven McTainsh?, Summer 2010/11.

Files:
1 modified

Legend:

Unmodified
Added
Removed
  • main/trunk/greenstone3/resources/tomcat/server_tomcat6.xml

    r20080 r23778  
    6565         Define a non-SSL HTTP/1.1 Connector on port 8080 
    6666    --> 
     67    <!-- compressionMinSize is in bytes --> 
    6768    <Connector port="@port@" protocol="HTTP/1.1"  
    6869               connectionTimeout="20000"  
    69                redirectPort="8443" /> 
     70               redirectPort="8443" 
     71               compression="on" 
     72               compressionMinSize="524288" 
     73               compressableMimeType="text/html,text/xml,text/css,text/xsl,text/javascript" 
     74               noCompressionUserAgents="gozilla, traviata" 
     75               /> 
    7076    <!-- A "Connector" using the shared thread pool--> 
    7177    <!--