Return-Path: Delivered-To: apmail-tomcat-users-archive@www.apache.org Received: (qmail 17403 invoked from network); 5 Apr 2009 20:21:05 -0000 Received: from hermes.apache.org (HELO mail.apache.org) (140.211.11.3) by minotaur.apache.org with SMTP; 5 Apr 2009 20:21:05 -0000 Received: (qmail 40764 invoked by uid 500); 5 Apr 2009 20:21:01 -0000 Delivered-To: apmail-tomcat-users-archive@tomcat.apache.org Received: (qmail 40689 invoked by uid 500); 5 Apr 2009 20:21:01 -0000 Mailing-List: contact users-help@tomcat.apache.org; run by ezmlm Precedence: bulk List-Help: List-Unsubscribe: List-Post: List-Id: Reply-To: "Tomcat Users List" Delivered-To: mailing list users@tomcat.apache.org Received: (qmail 40661 invoked by uid 99); 5 Apr 2009 20:21:01 -0000 Received: from athena.apache.org (HELO athena.apache.org) (140.211.11.136) by apache.org (qpsmtpd/0.29) with ESMTP; Sun, 05 Apr 2009 20:21:01 +0000 X-ASF-Spam-Status: No, hits=-0.0 required=10.0 tests=SPF_PASS X-Spam-Check-By: apache.org Received-SPF: pass (athena.apache.org: domain of sgfan@gmx.net designates 213.165.64.20 as permitted sender) Received: from [213.165.64.20] (HELO mail.gmx.net) (213.165.64.20) by apache.org (qpsmtpd/0.29) with SMTP; Sun, 05 Apr 2009 20:20:52 +0000 Received: (qmail invoked by alias); 05 Apr 2009 20:20:30 -0000 Received: from p5B25ED84.dip.t-dialin.net (EHLO [192.168.0.10]) [91.37.237.132] by mail.gmx.net (mp055) with SMTP; 05 Apr 2009 22:20:30 +0200 X-Authenticated: #2828799 X-Provags-ID: V01U2FsdGVkX190qoNORY50VrDhFWoRAX2nhvyJD9zIaTKDNZGucn 3T3ctolkFBodLW Message-ID: <49D91299.6050703@gmx.net> Date: Sun, 05 Apr 2009 22:20:41 +0200 From: Michael User-Agent: Thunderbird 2.0.0.21 (Windows/20090302) MIME-Version: 1.0 To: Tomcat Users List Subject: Re: HTTP Connector GZIP compression References: <49D77536.2040504@gmx.net> <0AAE5AB84B013E45A7B61CB66943C17215E701284D@USEA-EXCH7.na.uis.unisys.com> <49D8ABE9.4070704@gmx.net> <0AAE5AB84B013E45A7B61CB66943C17215E70128FA@USEA-EXCH7.na.uis.unisys.com> <49D8E441.4030906@gmx.net> <0AAE5AB84B013E45A7B61CB66943C17215E7012967@USEA-EXCH7.na.uis.unisys.com> <49D8FC83.1030800@gmx.net> <0AAE5AB84B013E45A7B61CB66943C17215E7012982@USEA-EXCH7.na.uis.unisys.com> In-Reply-To: <0AAE5AB84B013E45A7B61CB66943C17215E7012982@USEA-EXCH7.na.uis.unisys.com> Content-Type: text/plain; charset=UTF-8; format=flowed Content-Transfer-Encoding: 7bit X-Y-GMX-Trusted: 0 X-FuHaFi: 0.59 X-Virus-Checked: Checked by ClamAV on apache.org Caldarale, Charles R wrote: >> From: Michael [mailto:sgfan@gmx.net] >> Subject: Re: HTTP Connector GZIP compression >> Checked, the server.xml remains the same. I did not alter >> It except the invalid attribute. The same happens for CSS too. > > Did you restart Tomcat after making the change? Are you sure you're actually using the server.xml you think you are? Yes, I am absolutely sure. >> The simple reason is that I have disabled compression >> completely and the uncompressed size is 72 726 bytes. > > No, that's the size of the .jsp file - that has little relevance to the size of the generated HTML. Right, but my jsp contains lorem ipsum only, so plain text only. But this makes absolutely sense since JSP is dynamic and the final size is not known before is it is send to the user. BUT: I created a minimal server.xml ans started tomcat with the Tomcat service under Windows. This is the new server.xml: http://www.pastie.org/437744 Additionally, I have created several files which should or should not be compressed, threshold 40 KiB, which should *always* work with all non dynamic content. This is the output of Firefox with Fiddler: http://home.htw-berlin.de/~s0525102/fiddler.log (plain text). To be perfectly honest, only JSP compression seems to be predictable, the rest aboslutely not. What's wrong here. Thanks again, Mike --------------------------------------------------------------------- To unsubscribe, e-mail: users-unsubscribe@tomcat.apache.org For additional commands, e-mail: users-help@tomcat.apache.org