Tomcat: always do http compression without watch min size

Discussion in 'Apache' started by wakeup, Sep 21, 2006.

  1. #1
    Hi,

    I have an apache tomcat 5.5.17. In my server.xml file I have put

        <Connector port="8080" maxHttpHeaderSize="8192"
                   maxThreads="150" minSpareThreads="25" maxSpareThreads="75"
                   enableLookups="false" redirectPort="8443" acceptCount="100"
                   connectionTimeout="20000" disableUploadTimeout="true" 
                      compression="on" 
    			   compressionMinSize="2048000" 
    			   noCompressionUserAgents="gozilla, traviata" 
    			   compressableMimeType="text/html,text/xml,text/plain,application/dime"
    			   />
    HTML:
    But, it always compress the response althought it be less than 1kb.
    What do I have to do for set a compresionminsize?

    Thanksss

    _____________________________
    Hip Hop
    Humor
     
    wakeup, Sep 21, 2006 IP