Re: p6: Returning the freshest response

Martin Thomson <martin.thomson@gmail.com> Fri, 29 March 2013 15:49 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 4D98621F943C for <ietfarch-httpbisa-archive-bis2Juki@ietfa.amsl.com>; Fri, 29 Mar 2013 08:49:34 -0700 (PDT)
X-Virus-Scanned: amavisd-new at amsl.com
X-Spam-Flag: NO
X-Spam-Score: -10.539
X-Spam-Level:
X-Spam-Status: No, score=-10.539 tagged_above=-999 required=5 tests=[AWL=0.060, 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 gGlyV9VTg3n4 for <ietfarch-httpbisa-archive-bis2Juki@ietfa.amsl.com>; Fri, 29 Mar 2013 08:49:33 -0700 (PDT)
Received: from frink.w3.org (frink.w3.org [128.30.52.56]) by ietfa.amsl.com (Postfix) with ESMTP id BD38421F9433 for <httpbisa-archive-bis2Juki@lists.ietf.org>; Fri, 29 Mar 2013 08:49:33 -0700 (PDT)
Received: from lists by frink.w3.org with local (Exim 4.72) (envelope-from <ietf-http-wg-request@listhub.w3.org>) id 1ULbYS-0008QU-WF for ietf-http-wg-dist@listhub.w3.org; Fri, 29 Mar 2013 15:49:25 +0000
Resent-Date: Fri, 29 Mar 2013 15:49:24 +0000
Resent-Message-Id: <E1ULbYS-0008QU-WF@frink.w3.org>
Received: from maggie.w3.org ([128.30.52.39]) by frink.w3.org with esmtp (Exim 4.72) (envelope-from <martin.thomson@gmail.com>) id 1ULbYH-0008Pk-TD for ietf-http-wg@listhub.w3.org; Fri, 29 Mar 2013 15:49:13 +0000
Received: from mail-we0-f175.google.com ([74.125.82.175]) by maggie.w3.org with esmtps (TLS1.0:RSA_ARCFOUR_SHA1:16) (Exim 4.72) (envelope-from <martin.thomson@gmail.com>) id 1ULbYG-0003si-3y for ietf-http-wg@w3.org; Fri, 29 Mar 2013 15:49:13 +0000
Received: by mail-we0-f175.google.com with SMTP id t11so438537wey.34 for <ietf-http-wg@w3.org>; Fri, 29 Mar 2013 08:48:45 -0700 (PDT)
DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=gmail.com; s=20120113; h=mime-version:x-received:in-reply-to:references:date:message-id :subject:from:to:cc:content-type; bh=/tA4+1J5T5PrEn0JlIXKP3bVlg3GTwN4cCMh3uyZGOg=; b=LU5KQzZ7WagHXamm9k3rgo6MeWzrrrGBZOMRhzDmRizScdLxMk28B/FAULzWABJ3kc jiixpIdsX2keLNpwWxsB4To/oeIcAZPsKPsLh3Flt7H9LclgafGkKUYc7coNvCdhxYg/ 9tPyYEZ9vtOALixq0R0YPcgcwtNBtkJf42cMcu3RMK+DdI78bsMrW80GM6ck/x9iHJB1 j+RVovIGrs3J0gmDHP+pGSqWxWGffaurdQD+PJxgniROCaFpTiwJDjNIj+E6gp4OzAf0 E65z+W5Ix6sweLCt0AFdTxxGQCABA9/oVqCZ/nwQipUTEq7pUWgxf7wEJAcxmcYJRgJf m5EA==
MIME-Version: 1.0
X-Received: by 10.194.82.104 with SMTP id h8mr4415028wjy.3.1364572125867; Fri, 29 Mar 2013 08:48:45 -0700 (PDT)
Received: by 10.194.41.35 with HTTP; Fri, 29 Mar 2013 08:48:45 -0700 (PDT)
In-Reply-To: <5155B23A.2050002@andrew.cmu.edu>
References: <E56A5FA7-555D-4283-95A1-FD0030D4616A@mnot.net> <5155B23A.2050002@andrew.cmu.edu>
Date: Fri, 29 Mar 2013 08:48:45 -0700
Message-ID: <CABkgnnUc+CxTUfVvxsyJnG6pemkTpC9Z+3bQeaZbfnAdALZEtQ@mail.gmail.com>
From: Martin Thomson <martin.thomson@gmail.com>
To: Ken Murchison <murch@andrew.cmu.edu>
Cc: HTTP Working Group <ietf-http-wg@w3.org>
Content-Type: text/plain; charset="UTF-8"
Received-SPF: pass client-ip=74.125.82.175; envelope-from=martin.thomson@gmail.com; helo=mail-we0-f175.google.com
X-W3C-Hub-Spam-Status: No, score=-3.5
X-W3C-Hub-Spam-Report: AWL=-2.675, DKIM_SIGNED=0.1, DKIM_VALID=-0.1, DKIM_VALID_AU=-0.1, FREEMAIL_FROM=0.001, RCVD_IN_DNSWL_LOW=-0.7, SPF_PASS=-0.001
X-W3C-Scan-Sig: maggie.w3.org 1ULbYG-0003si-3y 55e0e62d182d0cb298a4b8573328bba1
X-Original-To: ietf-http-wg@w3.org
Subject: Re: p6: Returning the freshest response
Archived-At: <http://www.w3.org/mid/CABkgnnUc+CxTUfVvxsyJnG6pemkTpC9Z+3bQeaZbfnAdALZEtQ@mail.gmail.com>
Resent-From: ietf-http-wg@w3.org
X-Mailing-List: <ietf-http-wg@w3.org> archive/latest/17175
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 29 March 2013 08:24, Ken Murchison <murch@andrew.cmu.edu> wrote:
> So the (my) question is, what can/should a cache do with multiple stored
> responses in the absence of any Vary headers, as in your example above?  Can
> the cache use proactive content negotiation headers provided in the request
> to select the stored response that the client would prefer?  Or should the
> cache not select a response and punt it to the origin server per Section
> 4.2?

An origin server is required to include a Vary header if conneg is
possible, even if conneg isn't used.