logo
Apache Lounge
Webmasters

 

About Forum Index Downloads Search Register Log in RSS X


Keep Server Online

If you find the Apache Lounge, the downloads and overall help useful, please express your satisfaction with a donation.

or

Bitcoin

A donation makes a contribution towards the costs, the time and effort that's going in this site and building.

Thank You! Steffen

Your donations will help to keep this site alive and well, and continuing building binaries. Apache Lounge is not sponsored.
Post new topic   Forum Index -> Other Software View previous topic :: View next topic
Reply to topic   Topic: Tomcat: always do http compression without watch min size
Author
wakeup



Joined: 21 Sep 2006
Posts: 1

PostPosted: Thu 21 Sep '06 18:39    Post subject: Tomcat: always do http compression without watch min size Reply with quote

Hi,

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

[HTML] <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
Back to top


Reply to topic   Topic: Tomcat: always do http compression without watch min size View previous topic :: View next topic
Post new topic   Forum Index -> Other Software