Re: New precondition fields and caching

Poul-Henning Kamp <phk@phk.freebsd.dk> Mon, 07 September 2020 07:39 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 (localhost [127.0.0.1]) by ietfa.amsl.com (Postfix) with ESMTP id 4628B3A003F for <ietfarch-httpbisa-archive-bis2Juki@ietfa.amsl.com>; Mon, 7 Sep 2020 00:39:52 -0700 (PDT)
X-Virus-Scanned: amavisd-new at amsl.com
X-Spam-Flag: NO
X-Spam-Score: -2.65
X-Spam-Level:
X-Spam-Status: No, score=-2.65 tagged_above=-999 required=5 tests=[BAYES_00=-1.9, HEADER_FROM_DIFFERENT_DOMAINS=0.249, MAILING_LIST_MULTI=-1, RCVD_IN_MSPIKE_H4=0.001, RCVD_IN_MSPIKE_WL=0.001, SPF_PASS=-0.001] autolearn=ham autolearn_force=no
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 bEQ8MRHQ0i-v for <ietfarch-httpbisa-archive-bis2Juki@ietfa.amsl.com>; Mon, 7 Sep 2020 00:39:50 -0700 (PDT)
Received: from lyra.w3.org (lyra.w3.org [128.30.52.18]) (using TLSv1.2 with cipher ECDHE-RSA-AES256-GCM-SHA384 (256/256 bits)) (No client certificate requested) by ietfa.amsl.com (Postfix) with ESMTPS id 74FB03A0037 for <httpbisa-archive-bis2Juki@lists.ietf.org>; Mon, 7 Sep 2020 00:39:49 -0700 (PDT)
Received: from lists by lyra.w3.org with local (Exim 4.92) (envelope-from <ietf-http-wg-request@listhub.w3.org>) id 1kFBiF-0000Pj-FP for ietf-http-wg-dist@listhub.w3.org; Mon, 07 Sep 2020 07:37:15 +0000
Resent-Date: Mon, 07 Sep 2020 07:37:15 +0000
Resent-Message-Id: <E1kFBiF-0000Pj-FP@lyra.w3.org>
Received: from mimas.w3.org ([128.30.52.79]) by lyra.w3.org with esmtps (TLS1.3:ECDHE_RSA_AES_256_GCM_SHA384:256) (Exim 4.92) (envelope-from <phk@critter.freebsd.dk>) id 1kFBiD-0000OV-Tf for ietf-http-wg@listhub.w3.org; Mon, 07 Sep 2020 07:37:14 +0000
Received: from phk.freebsd.dk ([130.225.244.222]) by mimas.w3.org with esmtps (TLS1.3:ECDHE_RSA_AES_256_GCM_SHA384:256) (Exim 4.92) (envelope-from <phk@critter.freebsd.dk>) id 1kFBiB-0004Od-SB for ietf-http-wg@w3.org; Mon, 07 Sep 2020 07:37:13 +0000
Received: from critter.freebsd.dk (unknown [192.168.55.3]) (using TLSv1.3 with cipher TLS_AES_256_GCM_SHA384 (256/256 bits) key-exchange X25519 server-signature RSA-PSS (2048 bits) server-digest SHA256) (No client certificate requested) by phk.freebsd.dk (Postfix) with ESMTPS id 2AF971AF1BC; Mon, 7 Sep 2020 07:36:59 +0000 (UTC)
Received: from critter.freebsd.dk (localhost [127.0.0.1]) by critter.freebsd.dk (8.16.1/8.16.1) with ESMTPS id 0877awRr084779 (version=TLSv1.3 cipher=TLS_AES_256_GCM_SHA384 bits=256 verify=NO); Mon, 7 Sep 2020 07:36:58 GMT (envelope-from phk@critter.freebsd.dk)
Received: (from phk@localhost) by critter.freebsd.dk (8.16.1/8.16.1/Submit) id 0877aweZ084778; Mon, 7 Sep 2020 07:36:58 GMT (envelope-from phk)
To: "Martin Thomson" <mt@lowentropy.net>
cc: ietf-http-wg@w3.org
In-reply-to: <ec388155-d4f2-4c8b-b131-a1d0eefce5f3@www.fastmail.com>
From: "Poul-Henning Kamp" <phk@phk.freebsd.dk>
References: <7c1e8964-1a4b-42e6-8af1-fc7a4e43ce14@www.fastmail.com> <84534.1599462141@critter.freebsd.dk> <ec388155-d4f2-4c8b-b131-a1d0eefce5f3@www.fastmail.com>
MIME-Version: 1.0
Content-Type: text/plain; charset="us-ascii"
Content-ID: <84776.1599464218.1@critter.freebsd.dk>
Content-Transfer-Encoding: quoted-printable
Date: Mon, 07 Sep 2020 07:36:58 +0000
Message-ID: <84777.1599464218@critter.freebsd.dk>
Received-SPF: pass client-ip=130.225.244.222; envelope-from=phk@critter.freebsd.dk; helo=phk.freebsd.dk
X-W3C-Hub-Spam-Status: No, score=-4.9
X-W3C-Hub-Spam-Report: BAYES_00=-1.9, SPF_HELO_PASS=-0.001, SPF_PASS=-0.001, W3C_AA=-1, W3C_IRA=-1, W3C_WL=-1
X-W3C-Scan-Sig: mimas.w3.org 1kFBiB-0004Od-SB 99790c2a8144d8bf8bdf79db37b9000b
X-Original-To: ietf-http-wg@w3.org
Subject: Re: New precondition fields and caching
Archived-At: <https://www.w3.org/mid/84777.1599464218@critter.freebsd.dk>
Resent-From: ietf-http-wg@w3.org
X-Mailing-List: <ietf-http-wg@w3.org> archive/latest/38024
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: <https://www.w3.org/Mail/>
List-Post: <mailto:ietf-http-wg@w3.org>
List-Unsubscribe: <mailto:ietf-http-wg-request@w3.org?subject=unsubscribe>

--------
Martin Thomson writes:
> On Mon, Sep 7, 2020, at 17:02, Poul-Henning Kamp wrote:
> > I think the answer is yes, but with the footnote that Cache-Control
> > should also be set to mitigate downright disasters, if an intermediary
> > does not grok If-*
>
> Are you talking about using Cache-Control for damage mitigation or a genuine 
> backstop?  It seems like you get to choose between bustage and no caching at 
> all if you take that path. 

Where I have seen people have thought about this, it is clearly
damage mitigation.


-- 
Poul-Henning Kamp       | UNIX since Zilog Zeus 3.20
phk@FreeBSD.ORG         | TCP/IP since RFC 956
FreeBSD committer       | BSD since 4.3-tahoe    
Never attribute to malice what can adequately be explained by incompetence.