Return-Path: X-Original-To: apmail-httpd-modules-dev-archive@minotaur.apache.org Delivered-To: apmail-httpd-modules-dev-archive@minotaur.apache.org Received: from mail.apache.org (hermes.apache.org [140.211.11.3]) by minotaur.apache.org (Postfix) with SMTP id 3B27D4790 for ; Sat, 4 Jun 2011 20:15:27 +0000 (UTC) Received: (qmail 23823 invoked by uid 500); 4 Jun 2011 20:15:26 -0000 Delivered-To: apmail-httpd-modules-dev-archive@httpd.apache.org Received: (qmail 23787 invoked by uid 500); 4 Jun 2011 20:15:26 -0000 Mailing-List: contact modules-dev-help@httpd.apache.org; run by ezmlm Precedence: bulk List-Help: List-Unsubscribe: List-Post: List-Id: Reply-To: modules-dev@httpd.apache.org Delivered-To: mailing list modules-dev@httpd.apache.org Received: (qmail 23779 invoked by uid 99); 4 Jun 2011 20:15:26 -0000 Received: from nike.apache.org (HELO nike.apache.org) (192.87.106.230) by apache.org (qpsmtpd/0.29) with ESMTP; Sat, 04 Jun 2011 20:15:26 +0000 X-ASF-Spam-Status: No, hits=-0.7 required=5.0 tests=FREEMAIL_FROM,RCVD_IN_DNSWL_LOW,RFC_ABUSE_POST,SPF_PASS,T_TO_NO_BRKTS_FREEMAIL X-Spam-Check-By: apache.org Received-SPF: pass (nike.apache.org: domain of covener@gmail.com designates 74.125.83.45 as permitted sender) Received: from [74.125.83.45] (HELO mail-gw0-f45.google.com) (74.125.83.45) by apache.org (qpsmtpd/0.29) with ESMTP; Sat, 04 Jun 2011 20:15:19 +0000 Received: by gwb19 with SMTP id 19so1529741gwb.18 for ; Sat, 04 Jun 2011 13:14:58 -0700 (PDT) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=gmail.com; s=gamma; h=domainkey-signature:mime-version:in-reply-to:references:date :message-id:subject:from:to:content-type:content-transfer-encoding; bh=Mi93epPuSME9aOJtFFmDuvliW+Kzf15dVY7b+ULZhNE=; b=OFxJ2AuoIvOb09OHFz6btv2KcgHHL9TQR6WM9xEASV/uLkSiJhtbG1dhgfW0tKzjqZ zXmY65gP9GnaszBoAmNzfykZBEJIheNABJR+/2+ba/JfGG9bP/9siVLUBTKp6hAeliY4 8BkibtIbGDnQNcRbYjn3a1i/bBedgg+k6HOtw= DomainKey-Signature: a=rsa-sha1; c=nofws; d=gmail.com; s=gamma; h=mime-version:in-reply-to:references:date:message-id:subject:from:to :content-type:content-transfer-encoding; b=I6355fs7hK9QJGTW4Ecw1EAKqacuj3WSv45U1O9+ToWVsRHGO8Dp6IMd7maEf69Omc 2FDoj3Vb4UPxouZ+reUsMsbSsB7l9/hT9WaBhLoD1S0e/qCj8nN6kmCSlqe1+4VbUvfc xfS9gXoct2S3aaVyhGcLb3tZTvnMwOMTd8Pmo= MIME-Version: 1.0 Received: by 10.236.78.34 with SMTP id f22mr4138791yhe.428.1307218498076; Sat, 04 Jun 2011 13:14:58 -0700 (PDT) Received: by 10.147.168.3 with HTTP; Sat, 4 Jun 2011 13:14:58 -0700 (PDT) In-Reply-To: References: Date: Sat, 4 Jun 2011 16:14:58 -0400 Message-ID: Subject: Re: Vary:User-Agent, best practices, and making the web faster. From: Eric Covener To: modules-dev@httpd.apache.org Content-Type: text/plain; charset=ISO-8859-1 Content-Transfer-Encoding: quoted-printable X-Virus-Checked: Checked by ClamAV on apache.org > This encourages all site owners to add Vary:User-Agent to all css and js > files, whether they actually vary in content or not. > > Does anyone know the history of this recommendation? =A0Surely that is an > inappropriate recommendation for mod_deflate. =A0Vary:Accept-Encoding mak= e > sense in the context of that filter, but not Vary:User-Agent. It's because of the other (dated) canned exceptions that set/unset no-gzip/gzip-only-text/html based on the User-Agent, to second-guess browsers that send AE:gzip but can't properly deal with it.