From dev-return-98595-apmail-tomcat-dev-archive=tomcat.apache.org@tomcat.apache.org Thu Sep 10 14:17:49 2009 Return-Path: Delivered-To: apmail-tomcat-dev-archive@www.apache.org Received: (qmail 85632 invoked from network); 10 Sep 2009 14:17:49 -0000 Received: from hermes.apache.org (HELO mail.apache.org) (140.211.11.3) by minotaur.apache.org with SMTP; 10 Sep 2009 14:17:49 -0000 Received: (qmail 63388 invoked by uid 500); 10 Sep 2009 14:17:48 -0000 Delivered-To: apmail-tomcat-dev-archive@tomcat.apache.org Received: (qmail 63304 invoked by uid 500); 10 Sep 2009 14:17:48 -0000 Mailing-List: contact dev-help@tomcat.apache.org; run by ezmlm Precedence: bulk List-Help: List-Unsubscribe: List-Post: List-Id: Reply-To: "Tomcat Developers List" Delivered-To: mailing list dev@tomcat.apache.org Received: (qmail 63293 invoked by uid 99); 10 Sep 2009 14:17:48 -0000 Received: from athena.apache.org (HELO athena.apache.org) (140.211.11.136) by apache.org (qpsmtpd/0.29) with ESMTP; Thu, 10 Sep 2009 14:17:48 +0000 X-ASF-Spam-Status: No, hits=-2000.0 required=10.0 tests=ALL_TRUSTED X-Spam-Check-By: apache.org Received: from [140.211.11.140] (HELO brutus.apache.org) (140.211.11.140) by apache.org (qpsmtpd/0.29) with ESMTP; Thu, 10 Sep 2009 14:17:34 +0000 Received: by brutus.apache.org (Postfix, from userid 33) id B6EB2234C1F1; Thu, 10 Sep 2009 07:17:14 -0700 (PDT) From: bugzilla@apache.org To: dev@tomcat.apache.org Subject: DO NOT REPLY [Bug 46538] ETag must differ between compressed and uncompressed resource versions X-Bugzilla-Reason: AssignedTo X-Bugzilla-Type: changed X-Bugzilla-Watch-Reason: None X-Bugzilla-Product: Tomcat 6 X-Bugzilla-Component: Catalina X-Bugzilla-Keywords: X-Bugzilla-Severity: normal X-Bugzilla-Who: oliver.schoett@capgemini-sdm.com X-Bugzilla-Status: RESOLVED X-Bugzilla-Priority: P2 X-Bugzilla-Assigned-To: dev@tomcat.apache.org X-Bugzilla-Target-Milestone: default X-Bugzilla-Changed-Fields: Attachment #23190 is obsolete In-Reply-To: References: X-Bugzilla-URL: https://issues.apache.org/bugzilla/ Auto-Submitted: auto-generated Content-Type: text/plain; charset="UTF-8" MIME-Version: 1.0 Message-Id: <20090910141714.B6EB2234C1F1@brutus.apache.org> Date: Thu, 10 Sep 2009 07:17:14 -0700 (PDT) X-Virus-Checked: Checked by ClamAV on apache.org https://issues.apache.org/bugzilla/show_bug.cgi?id=46538 Oliver Schoett changed: What |Removed |Added ---------------------------------------------------------------------------- Attachment #23190|0 |1 is obsolete| | --- Comment #16 from Oliver Schoett 2009-09-10 07:17:08 PDT --- Created an attachment (id=24245) Disable sending and interpreting ETags (needs to be made into an option) Not fixing this bug makes it impossible to enable gzip compression on public web sites, because IE6 users behind Squid 2.6 and 2.7 proxies will receive broken content: IE6 by default does not allow compression behind a proxy, but Squid 2.6+ will deliver gzipped content that it already has in the cache, and which is not accepted by IE. Squid has implemented the option broken_vary_encoding to work around this, which by default is enabled for servers whose header begins with "Apache". However, this option is buggy (http://www.squid-cache.org/bugs/show_bug.cgi?id=2574), and Tomcat should not require work-arounds by others for its broken behavior. Thus, an option is needed to disable ETags to make public sites work reliably. What needs to be done is contained in the patch, which disables sending and interpreting ETags. This patch (against 6.0.18) has been used successfully in production since February on a German e-commerce site (90 Mill. PV/month). There is no performance impact, because 304 responses are still generated according to the "If-Modified-Since" logic. Unfortunately, I do not know Tomcat well enough to make this a configurable option. -- Configure bugmail: https://issues.apache.org/bugzilla/userprefs.cgi?tab=email ------- You are receiving this mail because: ------- You are the assignee for the bug. --------------------------------------------------------------------- To unsubscribe, e-mail: dev-unsubscribe@tomcat.apache.org For additional commands, e-mail: dev-help@tomcat.apache.org