Re: p6: Vary and effects on future requests

Mark Nottingham <mnot@mnot.net> Tue, 07 May 2013 07:37 UTC

Return-Path: <ietf-http-wg-request@listhub.w3.org>
X-Original-To: ietfarch-httpbisa-archive-bis2Juki@ietfa.amsl.com
Delivered-To: ietfarch-httpbisa-archive-bis2Juki@ietfa.amsl.com
Received: from localhost (localhost [127.0.0.1]) by ietfa.amsl.com (Postfix) with ESMTP id 7DF8221F884F for <ietfarch-httpbisa-archive-bis2Juki@ietfa.amsl.com>; Tue, 7 May 2013 00:37:04 -0700 (PDT)
X-Virus-Scanned: amavisd-new at amsl.com
X-Spam-Flag: NO
X-Spam-Score: -10.576
X-Spam-Level:
X-Spam-Status: No, score=-10.576 tagged_above=-999 required=5 tests=[AWL=0.023, BAYES_00=-2.599, RCVD_IN_DNSWL_HI=-8]
Received: from mail.ietf.org ([12.22.58.30]) by localhost (ietfa.amsl.com [127.0.0.1]) (amavisd-new, port 10024) with ESMTP id qSeK2SqMoAJl for <ietfarch-httpbisa-archive-bis2Juki@ietfa.amsl.com>; Tue, 7 May 2013 00:36:58 -0700 (PDT)
Received: from frink.w3.org (frink.w3.org [128.30.52.56]) by ietfa.amsl.com (Postfix) with ESMTP id 917A821F8825 for <httpbisa-archive-bis2Juki@lists.ietf.org>; Tue, 7 May 2013 00:36:58 -0700 (PDT)
Received: from lists by frink.w3.org with local (Exim 4.72) (envelope-from <ietf-http-wg-request@listhub.w3.org>) id 1UZcS8-0006fB-Lz for ietf-http-wg-dist@listhub.w3.org; Tue, 07 May 2013 07:36:48 +0000
Resent-Date: Tue, 07 May 2013 07:36:48 +0000
Resent-Message-Id: <E1UZcS8-0006fB-Lz@frink.w3.org>
Received: from maggie.w3.org ([128.30.52.39]) by frink.w3.org with esmtp (Exim 4.72) (envelope-from <mnot@mnot.net>) id 1UZcRx-0006eF-Pk for ietf-http-wg@listhub.w3.org; Tue, 07 May 2013 07:36:37 +0000
Received: from mxout-07.mxes.net ([216.86.168.182]) by maggie.w3.org with esmtps (TLS1.0:DHE_RSA_AES_256_CBC_SHA1:32) (Exim 4.72) (envelope-from <mnot@mnot.net>) id 1UZcRw-0003cH-Nw for ietf-http-wg@w3.org; Tue, 07 May 2013 07:36:37 +0000
Received: from [192.168.1.80] (unknown [118.209.105.214]) (using TLSv1 with cipher AES128-SHA (128/128 bits)) (No client certificate requested) by smtp.mxes.net (Postfix) with ESMTPSA id 62C1C22E1F4 for <ietf-http-wg@w3.org>; Tue, 7 May 2013 03:36:15 -0400 (EDT)
Content-Type: text/plain; charset="us-ascii"
Mime-Version: 1.0 (Mac OS X Mail 6.3 \(1503\))
From: Mark Nottingham <mnot@mnot.net>
In-Reply-To: <96C9E2C7-D4D2-4BBD-A243-FF0C232DE6FD@mnot.net>
Date: Tue, 07 May 2013 17:36:12 +1000
Content-Transfer-Encoding: quoted-printable
Message-Id: <1AAD64E4-D0CC-4FDC-BD72-5C980E6D713D@mnot.net>
References: <6C6BEA0B-20CC-4672-914A-C53873B8972A@mnot.net> <96C9E2C7-D4D2-4BBD-A243-FF0C232DE6FD@mnot.net>
To: "ietf-http-wg@w3.org Group" <ietf-http-wg@w3.org>
X-Mailer: Apple Mail (2.1503)
Received-SPF: pass client-ip=216.86.168.182; envelope-from=mnot@mnot.net; helo=mxout-07.mxes.net
X-W3C-Hub-Spam-Status: No, score=-3.4
X-W3C-Hub-Spam-Report: AWL=-3.357, SPF_HELO_PASS=-0.001, SPF_PASS=-0.001
X-W3C-Scan-Sig: maggie.w3.org 1UZcRw-0003cH-Nw 048a0b2414fa8d7446a2693d1cfec884
X-Original-To: ietf-http-wg@w3.org
Subject: Re: p6: Vary and effects on future requests
Archived-At: <http://www.w3.org/mid/1AAD64E4-D0CC-4FDC-BD72-5C980E6D713D@mnot.net>
Resent-From: ietf-http-wg@w3.org
X-Mailing-List: <ietf-http-wg@w3.org> archive/latest/17864
X-Loop: ietf-http-wg@w3.org
Resent-Sender: ietf-http-wg-request@w3.org
Precedence: list
List-Id: <ietf-http-wg.w3.org>
List-Help: <http://www.w3.org/Mail/>
List-Post: <mailto:ietf-http-wg@w3.org>
List-Unsubscribe: <mailto:ietf-http-wg-request@w3.org?subject=unsubscribe>

These don't seem controversial, so I'll mark for -23.


On 29/04/2013, at 10:39 PM, Mark Nottingham <mnot@mnot.net> wrote:

> On a related note, the text in p6 4.3 doesn't explicitly account for the case when there are stored responses both with and without Vary that might match.
> 
> I think this can be addressed by changing:
> 
> "If multiple selected responses are available..."
> 
> to
> 
> "If multiple selected responses (potentially including responses without a Vary header) are available..."
> 
> 
> On 29/04/2013, at 3:13 PM, Mark Nottingham <mnot@mnot.net> wrote:
> 
>> p6 4.3 says:
>> 
>> """A Vary header field value of "*" always fails to match, and subsequent requests to that resource can only be properly interpreted by the origin server."""
>> 
>> Someone reading this could take away that *any* stored response with a Vary: * has an effect on ALL other stored responses that share that primary key (and a couple of the issues we discussed reflected this confusion, from memory).
>> 
>> As I recall, the goal for 4.3 Using Negotiated Responses was to assure that stored responses were independent and self-describing; i.e., that a cache didn't have to rationalise the value of the Vary header among multiple stored responses.
>> 
>> So, I'd suggest changing this to just:
>> 
>> "A Vary header field value of "*" always fails to match."
>> 
>> Make sense?
>> 
>> 
>> --
>> Mark Nottingham   http://www.mnot.net/
>> 
>> 
>> 
>> 
> 
> --
> Mark Nottingham   http://www.mnot.net/
> 
> 
> 
> 

--
Mark Nottingham   http://www.mnot.net/