Re: p6: Returning the freshest response

Eitan Adler <lists@eitanadler.com> Mon, 01 April 2013 04:56 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 A4F4721F85B4 for <ietfarch-httpbisa-archive-bis2Juki@ietfa.amsl.com>; Sun, 31 Mar 2013 21:56:22 -0700 (PDT)
X-Virus-Scanned: amavisd-new at amsl.com
X-Spam-Flag: NO
X-Spam-Score: -9.977
X-Spam-Level:
X-Spam-Status: No, score=-9.977 tagged_above=-999 required=5 tests=[BAYES_00=-2.599, FM_FORGED_GMAIL=0.622, 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 hhXM8WPnrChl for <ietfarch-httpbisa-archive-bis2Juki@ietfa.amsl.com>; Sun, 31 Mar 2013 21:56:21 -0700 (PDT)
Received: from frink.w3.org (frink.w3.org [128.30.52.56]) by ietfa.amsl.com (Postfix) with ESMTP id 8A35821F85A0 for <httpbisa-archive-bis2Juki@lists.ietf.org>; Sun, 31 Mar 2013 21:56:18 -0700 (PDT)
Received: from lists by frink.w3.org with local (Exim 4.72) (envelope-from <ietf-http-wg-request@listhub.w3.org>) id 1UMWkz-00062n-05 for ietf-http-wg-dist@listhub.w3.org; Mon, 01 Apr 2013 04:54:09 +0000
Resent-Date: Mon, 01 Apr 2013 04:54:09 +0000
Resent-Message-Id: <E1UMWkz-00062n-05@frink.w3.org>
Received: from maggie.w3.org ([128.30.52.39]) by frink.w3.org with esmtp (Exim 4.72) (envelope-from <lists@eitanadler.com>) id 1UMWkx-000624-8v for ietf-http-wg@listhub.w3.org; Mon, 01 Apr 2013 04:54:07 +0000
Received: from mail-pa0-f51.google.com ([209.85.220.51]) by maggie.w3.org with esmtps (TLS1.0:RSA_ARCFOUR_SHA1:16) (Exim 4.72) (envelope-from <lists@eitanadler.com>) id 1UMWkt-0006rb-CU for ietf-http-wg@w3.org; Mon, 01 Apr 2013 04:54:07 +0000
Received: by mail-pa0-f51.google.com with SMTP id jh10so1131529pab.38 for <ietf-http-wg@w3.org>; Sun, 31 Mar 2013 21:53:37 -0700 (PDT)
DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=eitanadler.com; s=0xdeadbeef; h=x-received:mime-version:in-reply-to:references:from:date:message-id :subject:to:cc:content-type; bh=qhmB8Nor2m9KjIY7I8O25C5twcaczql00ifNXCr3FhA=; b=b3Vw23V0NNNYqC8CPL7YZUJ6s22Rgr26H0XYF5NohW1cflRXV81bfSQHwbPXBaNHIe 2YhzOy/40Ux0kSV32zZ4g91b+wSaU8WBa4phxMm1fdK62sqblcoBn+uhs4zg4V/GbcDJ IkNacEZ0s5TNkpuQXLNflhjRlCsaTOg61ZxB0=
X-Google-DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=google.com; s=20120113; h=x-received:mime-version:in-reply-to:references:from:date:message-id :subject:to:cc:content-type:x-gm-message-state; bh=qhmB8Nor2m9KjIY7I8O25C5twcaczql00ifNXCr3FhA=; b=myBOlG48L7bPeVrfp8FcTztsqzEZ7qQzt2yf/23mvMUyWw+bc6GZs/2df3wz9Ynn0R 5Sx6u6498ndCjLi+/SAHQALa0cAz1qL9eNBXYFt4FtQdMOVfodfjeiLD8YMFkncCiP7/ vBilUliASeuPxjNY8rcE5gvN7WHURUskhWN9tEtSyQ53kdSC7jwN71jq2QZR3NCi3xN8 BqfEdaO5R0lh1Re5ofJiLdQjTFMI+rBwmWSHojQQtB3f23bXSmeIZF4rTvh7ljOcF7Q+ AOr8z2FQq5Tahj5A7O9Xmm6VOUXQmpNrrFoum3rge4+F1GXHHFvMMsuwCQExtwP7rFdH Q7hg==
X-Received: by 10.68.40.165 with SMTP id y5mr16287418pbk.218.1364792016878; Sun, 31 Mar 2013 21:53:36 -0700 (PDT)
MIME-Version: 1.0
Received: by 10.66.86.34 with HTTP; Sun, 31 Mar 2013 21:53:06 -0700 (PDT)
In-Reply-To: <51578395.6070800@treenet.co.nz>
References: <E56A5FA7-555D-4283-95A1-FD0030D4616A@mnot.net> <CABkgnnXbDfXN1KA-AfHcW=macw44hK346z0UuYMZYx8OXBZv4g@mail.gmail.com> <51578395.6070800@treenet.co.nz>
From: Eitan Adler <lists@eitanadler.com>
Date: Mon, 1 Apr 2013 00:53:06 -0400
Message-ID: <CAF6rxgntPNoUehbYjJ_bJeHqgWO28LEDwX9+yKR67CONuh6kzg@mail.gmail.com>
To: Amos Jeffries <squid3@treenet.co.nz>
Cc: ietf-http-wg@w3.org
Content-Type: text/plain; charset=UTF-8
X-Gm-Message-State: ALoCoQkvoKfvjSEU22xDzxD+i5bRjSQ99oqPNX7BOxloGBXH8hiuV/sc+JmqumHC2B22lYK9Uku3
Received-SPF: pass client-ip=209.85.220.51; envelope-from=lists@eitanadler.com; helo=mail-pa0-f51.google.com
X-W3C-Hub-Spam-Status: No, score=-3.6
X-W3C-Hub-Spam-Report: AWL=-2.805, DKIM_SIGNED=0.1, DKIM_VALID=-0.1, DKIM_VALID_AU=-0.1, RCVD_IN_DNSWL_LOW=-0.7, SPF_PASS=-0.001
X-W3C-Scan-Sig: maggie.w3.org 1UMWkt-0006rb-CU a1e54950ea5df4bc8575d333da5326d7
X-Original-To: ietf-http-wg@w3.org
Subject: Re: p6: Returning the freshest response
Archived-At: <http://www.w3.org/mid/CAF6rxgntPNoUehbYjJ_bJeHqgWO28LEDwX9+yKR67CONuh6kzg@mail.gmail.com>
Resent-From: ietf-http-wg@w3.org
X-Mailing-List: <ietf-http-wg@w3.org> archive/latest/17186
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>

On 30 March 2013 20:30, Amos Jeffries <squid3@treenet.co.nz> wrote:
> On 30/03/2013 4:47 a.m., Martin Thomson wrote:
>>
>> On 28 March 2013 20:10, Mark Nottingham <mnot@mnot.net> wrote:
>>>
>>> """
>>> If multiple selected responses are available, the cache will need to
>>> choose one to use. If a selecting header has a known mechanism for doing so
>>> (e.g., qvalues on Accept and similar request headers), it MAY be used to
>>> select one; otherwise, the most recent response (as determined by the Date
>>> header field) is used, as per Section 4.
>>> """
>>
>> This seems good.  The "it" in "it MAY be used to select one" is
>> perhaps ambiguous, but I don't see how to fix it without making it
>> even harder to parse :)
>>
>
> Perhapse this is a bit better?
>
> "
>
> If multiple selected responses are available, the cache will need to choose
> one to use. When a selecting header has a known mechanism for doing so
> (e.g., qvalues on Accept and similar request headers), that mechanism SHOULD
> be used to eliminate unwanted responses; of the remainder, the most recent
> response (as determined by the Date header field) is used, as per Section 4.

I like this wording the best of the options in this thread so far.


-- 
Eitan Adler