What is the real use case of compressionMinSize property in
catalina-server.xml in AS ?

As per the apache tomcat documentation
[1<http://tomcat.apache.org/tomcat-7.0-doc/config/http.html>],
compressionMinSize defined as,

If *compression* is set to "on" then this attribute may be used to specify
the minimum amount of data before the output is compressed. If not
specified, this attribute is defaults to "2048".

But eventhough I send my request which is less than or greater than the
defined compressionMinSize size, still my sent message will be gzip
compressed, when I define compression="on".

Is this expected?

[1] http://tomcat.apache.org/tomcat-7.0-doc/config/http.html


-- 
*Ushani Balasooriya*
Software Engineer - QA;
WSO2 Inc; http://www.wso2.com/.
Mobile; +94772636796
_______________________________________________
Dev mailing list
[email protected]
http://wso2.org/cgi-bin/mailman/listinfo/dev

Reply via email to