Re: p6: Returning the freshest response

Eitan Adler <lists@eitanadler.com> Fri, 29 March 2013 04:04 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 4E74721F8739 for <ietfarch-httpbisa-archive-bis2Juki@ietfa.amsl.com>; Thu, 28 Mar 2013 21:04:32 -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 YUA8VsNhvEFl for <ietfarch-httpbisa-archive-bis2Juki@ietfa.amsl.com>; Thu, 28 Mar 2013 21:04:31 -0700 (PDT)
Received: from frink.w3.org (frink.w3.org [128.30.52.56]) by ietfa.amsl.com (Postfix) with ESMTP id 80B2321F872E for <httpbisa-archive-bis2Juki@lists.ietf.org>; Thu, 28 Mar 2013 21:04:31 -0700 (PDT)
Received: from lists by frink.w3.org with local (Exim 4.72) (envelope-from <ietf-http-wg-request@listhub.w3.org>) id 1ULQXP-0001W3-Rv for ietf-http-wg-dist@listhub.w3.org; Fri, 29 Mar 2013 04:03:35 +0000
Resent-Date: Fri, 29 Mar 2013 04:03:35 +0000
Resent-Message-Id: <E1ULQXP-0001W3-Rv@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 1ULQXE-0001VJ-LT for ietf-http-wg@listhub.w3.org; Fri, 29 Mar 2013 04:03:24 +0000
Received: from mail-pa0-f50.google.com ([209.85.220.50]) by maggie.w3.org with esmtps (TLS1.0:RSA_ARCFOUR_SHA1:16) (Exim 4.72) (envelope-from <lists@eitanadler.com>) id 1ULQXD-0005NR-NC for ietf-http-wg@w3.org; Fri, 29 Mar 2013 04:03:24 +0000
Received: by mail-pa0-f50.google.com with SMTP id bg2so187851pad.9 for <ietf-http-wg@w3.org>; Thu, 28 Mar 2013 21:02:57 -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=SxDyuwxQ5dWIlEXI3pgA71EuU//ZZSRi3PlFRfE72I4=; b=Xh3g5NroJRq4AiimTg/WJDCkrMUr+Dr7uc9uo5nSzCPp/bDi3aAaXLQRE/ZEsN3nBY NNc1qGJL6Na6M0IC57wxVyvcEw0N005i7ct6Huw7lE2A1nLh9LTsJPaxEEwalvy8lOkU HOg75otQwko4cSTBbaeVQVs2s4wJhKbDzYQM8=
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=SxDyuwxQ5dWIlEXI3pgA71EuU//ZZSRi3PlFRfE72I4=; b=XA9C1w7YHpDyQvyCWbg1uMLrRiEQLx2rgp0puYdpEFHi/6urgAfGiJ201pjY/7W1EF 1Sb3uErexYlgnkV85I+Nc6LWfuoL/xW6lK5MfR2Ndetk53p+wN8/bJPUw0ZbXl8l+XoC PQHSFvnNvXGEnvGx4gRtIhyYD85jjUGlGwuUgUjnjOk2Apo4ZrpRrx4UrgvI/NaV6gE1 DrazqQDS1S+Bsdd+QGuwRJjzUkSEVpIhRtbCObiC4dwZKGTGttYFANmCPuAmTX7iUI8C uNksBZ2uG9f6GjDw2yGao7jFqUXftG4q0pldHUvZIujo3xT1VCLEW9pegjKn4a0dJyZg f2Rg==
X-Received: by 10.68.44.169 with SMTP id f9mr1609677pbm.106.1364529776906; Thu, 28 Mar 2013 21:02:56 -0700 (PDT)
MIME-Version: 1.0
Received: by 10.66.246.3 with HTTP; Thu, 28 Mar 2013 21:02:26 -0700 (PDT)
In-Reply-To: <E56A5FA7-555D-4283-95A1-FD0030D4616A@mnot.net>
References: <E56A5FA7-555D-4283-95A1-FD0030D4616A@mnot.net>
From: Eitan Adler <lists@eitanadler.com>
Date: Fri, 29 Mar 2013 00:02:26 -0400
Message-ID: <CAF6rxg=96siQxgUUGwizQJYQ2XKyr1tdxj1URQWBjgWnS45WVw@mail.gmail.com>
To: Mark Nottingham <mnot@mnot.net>
Cc: "ietf-http-wg@w3.org Group" <ietf-http-wg@w3.org>
Content-Type: text/plain; charset=UTF-8
X-Gm-Message-State: ALoCoQk8zgQhPohtIa7VQWs+hebDXcEVShXmERD+mDkwOtF/Ex8iN7xk5KcV77QMevDBpctdeg9R
Received-SPF: pass client-ip=209.85.220.50; envelope-from=lists@eitanadler.com; helo=mail-pa0-f50.google.com
X-W3C-Hub-Spam-Status: No, score=-0.8
X-W3C-Hub-Spam-Report: 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 1ULQXD-0005NR-NC 0ca8867be874362952c515628927ff61
X-Original-To: ietf-http-wg@w3.org
Subject: Re: p6: Returning the freshest response
Archived-At: <http://www.w3.org/mid/CAF6rxg=96siQxgUUGwizQJYQ2XKyr1tdxj1URQWBjgWnS45WVw@mail.gmail.com>
Resent-From: ietf-http-wg@w3.org
X-Mailing-List: <ietf-http-wg@w3.org> archive/latest/17170
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 28 March 2013 23:10, Mark Nottingham <mnot@mnot.net> wrote:
>
> p6 currently says;
>
> > When more than one suitable response is stored, a cache must use the most recent response (as determined by the Date header field).

Why not word this something like:

When more than one suitable otherwise identical responses are stored, a
cache must use the most recent response (as determined by the Date
header field).  The cache may choose whether to honor other priority
information, such as qvalues on Accept, above the recency of the date.

This keeps the requirement to honor the date when the cache has two
entries and no other means to distinguish between them.



--
Eitan Adler