Re: dont-revalidate Cache-Control header

Zhong Yu <zhong.j.yu@gmail.com> Fri, 10 July 2015 22:00 UTC

Return-Path: <ietf-http-wg-request+bounce-httpbisa-archive-bis2juki=lists.ie@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 (ietfa.amsl.com [127.0.0.1]) by ietfa.amsl.com (Postfix) with ESMTP id E9A8B1B2D0E for <ietfarch-httpbisa-archive-bis2Juki@ietfa.amsl.com>; Fri, 10 Jul 2015 15:00:57 -0700 (PDT)
X-Virus-Scanned: amavisd-new at amsl.com
X-Spam-Flag: NO
X-Spam-Score: -6.411
X-Spam-Level:
X-Spam-Status: No, score=-6.411 tagged_above=-999 required=5 tests=[BAYES_00=-1.9, DKIM_SIGNED=0.1, DKIM_VALID=-0.1, DKIM_VALID_AU=-0.1, HTML_MESSAGE=0.001, J_CHICKENPOX_52=0.6, RCVD_IN_DNSWL_HI=-5, SPF_HELO_PASS=-0.001, SPF_PASS=-0.001, T_RP_MATCHES_RCVD=-0.01] autolearn=ham
Received: from mail.ietf.org ([4.31.198.44]) by localhost (ietfa.amsl.com [127.0.0.1]) (amavisd-new, port 10024) with ESMTP id cPvO_9nGOpwr for <ietfarch-httpbisa-archive-bis2Juki@ietfa.amsl.com>; Fri, 10 Jul 2015 15:00:56 -0700 (PDT)
Received: from frink.w3.org (frink.w3.org [128.30.52.56]) (using TLSv1.2 with cipher DHE-RSA-AES128-SHA (128/128 bits)) (No client certificate requested) by ietfa.amsl.com (Postfix) with ESMTPS id 7B9261A09C9 for <httpbisa-archive-bis2Juki@lists.ietf.org>; Fri, 10 Jul 2015 15:00:56 -0700 (PDT)
Received: from lists by frink.w3.org with local (Exim 4.80) (envelope-from <ietf-http-wg-request@listhub.w3.org>) id 1ZDgIc-00036L-5W for ietf-http-wg-dist@listhub.w3.org; Fri, 10 Jul 2015 21:57:38 +0000
Resent-Date: Fri, 10 Jul 2015 21:57:38 +0000
Resent-Message-Id: <E1ZDgIc-00036L-5W@frink.w3.org>
Received: from lisa.w3.org ([128.30.52.41]) by frink.w3.org with esmtps (TLS1.2:DHE_RSA_AES_128_CBC_SHA1:128) (Exim 4.80) (envelope-from <zhong.j.yu@gmail.com>) id 1ZDgIY-00035Z-JZ for ietf-http-wg@listhub.w3.org; Fri, 10 Jul 2015 21:57:34 +0000
Received: from mail-ig0-f169.google.com ([209.85.213.169]) by lisa.w3.org with esmtps (TLS1.2:RSA_ARCFOUR_SHA1:128) (Exim 4.80) (envelope-from <zhong.j.yu@gmail.com>) id 1ZDgIW-0004V3-RE for ietf-http-wg@w3.org; Fri, 10 Jul 2015 21:57:34 +0000
Received: by igoe12 with SMTP id e12so44120418igo.1 for <ietf-http-wg@w3.org>; Fri, 10 Jul 2015 14:57:06 -0700 (PDT)
DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=gmail.com; s=20120113; h=mime-version:in-reply-to:references:date:message-id:subject:from:to :cc:content-type; bh=CldYldoBInz9ovMgXu9OAB30uHWw91ofN2KoMlMPHRA=; b=zpdMun1mudlTssRypupHNui8GiHg6P1I032jPOegK7W0WnybPVx41U8WHPFE4BOHP1 eFTwiGAwx2FlL6yVKtIqdrvUzPKHB1Xqu1d8wJM2bA+hc5tuIpJFqoMfbeJ4mPKt1lVA W1tMiSjVIz27hwFXbzQm/xd/XpXS5DCTd4aLx66/0lj/pENkk3LoFPeMg/ltILcoPg14 W7H5WSoE5c4QMLxMgfd9ys/TAicL+Zapw2ReOlRl0RfFbENXFSaSjgLBFOTcK5HYQWfW nIME0R95kkmv0oHjgqRvAohTqYLHseA6K7zwAtP/skScvVWpBYpqz4757iP36MJfzrta RyZg==
MIME-Version: 1.0
X-Received: by 10.107.4.6 with SMTP id 6mr10170640ioe.49.1436565426624; Fri, 10 Jul 2015 14:57:06 -0700 (PDT)
Received: by 10.64.98.33 with HTTP; Fri, 10 Jul 2015 14:57:06 -0700 (PDT)
In-Reply-To: <CABgOVaLHBb4zcgvO4NUUmAzUjNkocBGYY3atFA9iuYyoLaLQsA@mail.gmail.com>
References: <CABgOVaLHBb4zcgvO4NUUmAzUjNkocBGYY3atFA9iuYyoLaLQsA@mail.gmail.com>
Date: Fri, 10 Jul 2015 16:57:06 -0500
Message-ID: <CACuKZqGzVJE36Ne3EZ8t02ZyFgwHdbNT0SOv4e0qyKMaqj=3dQ@mail.gmail.com>
From: Zhong Yu <zhong.j.yu@gmail.com>
To: Ben Maurer <ben.maurer@gmail.com>
Cc: HTTP Working Group <ietf-http-wg@w3.org>, Ilya Grigorik <igrigorik@google.com>
Content-Type: multipart/alternative; boundary="001a113ef45af35de4051a8c736f"
Received-SPF: pass client-ip=209.85.213.169; envelope-from=zhong.j.yu@gmail.com; helo=mail-ig0-f169.google.com
X-W3C-Hub-Spam-Status: No, score=-5.4
X-W3C-Hub-Spam-Report: AWL=-0.748, BAYES_00=-1.9, DKIM_SIGNED=0.1, DKIM_VALID=-0.1, DKIM_VALID_AU=-0.1, FREEMAIL_FROM=0.001, HTML_MESSAGE=0.001, RCVD_IN_DNSWL_LOW=-0.7, SPF_PASS=-0.001, W3C_AA=-1, W3C_WL=-1
X-W3C-Scan-Sig: lisa.w3.org 1ZDgIW-0004V3-RE 355085d6bd0766cbf7f10f90fe2a8f7e
X-Original-To: ietf-http-wg@w3.org
Subject: Re: dont-revalidate Cache-Control header
Archived-At: <http://www.w3.org/mid/CACuKZqGzVJE36Ne3EZ8t02ZyFgwHdbNT0SOv4e0qyKMaqj=3dQ@mail.gmail.com>
Resent-From: ietf-http-wg@w3.org
X-Mailing-List: <ietf-http-wg@w3.org> archive/latest/29933
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>

Questions:

1. MUST NOT seems too harsh. It'll put UAs that don't yet understand the
directive as non-compliant. And we can't be sure whether there could be
legitimate reasons for UAs to send conditional GET.

2. If the user views a subresource, e.g. an embedded image, directly as a
top resource, and the user refreshes UA, what should UA do? It's unlikely
that UA will refuse to oblige the refresh request.

3. If UA requests an older version of a resource that the server no longer
keeps, how should the server respond? If the server returns the latest
version, it'll compromise the semantics of the URI. This requires clearer
specification.

Zhong Yu
bayou.io