Re: New precondition fields and caching

Martin Thomson <mt@lowentropy.net> Mon, 07 September 2020 07:17 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 7EA6E3A160B for <ietfarch-httpbisa-archive-bis2Juki@ietfa.amsl.com>; Mon, 7 Sep 2020 00:17:36 -0700 (PDT)
X-Virus-Scanned: amavisd-new at amsl.com
X-Spam-Flag: NO
X-Spam-Score: -2.749
X-Spam-Level:
X-Spam-Status: No, score=-2.749 tagged_above=-999 required=5 tests=[BAYES_00=-1.9, DKIM_SIGNED=0.1, DKIM_VALID=-0.1, DKIM_VALID_AU=-0.1, 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, URIBL_BLOCKED=0.001] autolearn=ham autolearn_force=no
Authentication-Results: ietfa.amsl.com (amavisd-new); dkim=pass (2048-bit key) header.d=lowentropy.net header.b=t3Att8In; dkim=pass (2048-bit key) header.d=messagingengine.com header.b=t7iwe5Jb
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 lL-vD6i72TOY for <ietfarch-httpbisa-archive-bis2Juki@ietfa.amsl.com>; Mon, 7 Sep 2020 00:17:35 -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 4981D3A160A for <httpbisa-archive-bis2Juki@lists.ietf.org>; Mon, 7 Sep 2020 00:17:34 -0700 (PDT)
Received: from lists by lyra.w3.org with local (Exim 4.92) (envelope-from <ietf-http-wg-request@listhub.w3.org>) id 1kFBMk-0003YG-7G for ietf-http-wg-dist@listhub.w3.org; Mon, 07 Sep 2020 07:15:02 +0000
Resent-Date: Mon, 07 Sep 2020 07:15:02 +0000
Resent-Message-Id: <E1kFBMk-0003YG-7G@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 <mt@lowentropy.net>) id 1kFBMi-0003XN-RO for ietf-http-wg@listhub.w3.org; Mon, 07 Sep 2020 07:15:00 +0000
Received: from out1-smtp.messagingengine.com ([66.111.4.25]) by mimas.w3.org with esmtps (TLS1.2:ECDHE_RSA_AES_256_GCM_SHA384:256) (Exim 4.92) (envelope-from <mt@lowentropy.net>) id 1kFBMh-0003cg-Ey for ietf-http-wg@w3.org; Mon, 07 Sep 2020 07:15:00 +0000
Received: from compute2.internal (compute2.nyi.internal [10.202.2.42]) by mailout.nyi.internal (Postfix) with ESMTP id 260455C016C for <ietf-http-wg@w3.org>; Mon, 7 Sep 2020 03:14:47 -0400 (EDT)
Received: from imap10 ([10.202.2.60]) by compute2.internal (MEProxy); Mon, 07 Sep 2020 03:14:47 -0400
DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=lowentropy.net; h=mime-version:message-id:in-reply-to:references:date:from:to :subject:content-type; s=fm3; bh=Bki6kXidZ//f8GgLussg6Viec0G1n7P eWSljZNy6iks=; b=t3Att8In6Gun6CguAEOMn9WGVUW+A/uPjnLFmABfIBGtOg7 /hrq6zh9Si1nbSk7y7NHnlPH6omMeL8Qd+0KRMP5pel7qGjElH5yncdp/8GibdR5 ZkmxOCib8UHv+584vsSboA5i+L0R/9ndxLqXLhLCvWLVC6gWup8SfZshpoplUG4P jNaXExV/pUiuR8tWBQ7P1n4bvWdTE0aLMM8anZ/huOuiMz8OR4UNs2Z3VetSHkvt hlNn/IHEXCntMnD78UzGcTkY9hXLKn+Yoh5m+GqdewqsP8Z/sWaSiiW+alN3ynTl eilPlPVctAxnyiGitlaqHrpywqbmwK46sAefvXQ==
DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d= messagingengine.com; h=content-type:date:from:in-reply-to :message-id:mime-version:references:subject:to:x-me-proxy :x-me-proxy:x-me-sender:x-me-sender:x-sasl-enc; s=fm3; bh=Bki6kX idZ//f8GgLussg6Viec0G1n7PeWSljZNy6iks=; b=t7iwe5JbClep8yKpyUDD/G dv+kpCqrPQgim61VpaFGnDAM1OEFfNOeHlE02tT3DySpdbt+pyaK1XJkQ9kUeQYQ 6QSbYluIyCV0+w0OgO0sQuFdQEoLxzrIITTPf/MhTg7d0GXAxHAetz95+WcktlCI xqnJEvHJV3uznva5J/B+73geIIohWqVwJXVtDfIAXuZK2jQVk3V8YWyPc+LiA+h3 GjDA8IA9m91rA8nAN/lByZ3otqnFLxRX7r+do0Iy+tcguV/oR123b4XxnyOkO5Ro T0u2ie5sdAnaz80sYzXw69kdEQFHBDM0v1icEqx/eXLcmvO8dQggvsY+zgrI8oXA ==
X-ME-Sender: <xms:5t1VX56OsXAvrxHDx1OsJ9WlJ12reYT5mbZFiM9uUaThD5hSvw02ig> <xme:5t1VX27JWUckcjZSlOO1yYzB3WAYYhx58u_mqRSA82FZk8juKjpYQ58jqNerWLscy lb5GldVDbcQ6CIVJP8>
X-ME-Proxy-Cause: gggruggvucftvghtrhhoucdtuddrgeduiedrudegledgieehucetufdoteggodetrfdotf fvucfrrhhofhhilhgvmecuhfgrshhtofgrihhlpdfqfgfvpdfurfetoffkrfgpnffqhgen uceurghilhhouhhtmecufedttdenucenucfjughrpefofgggkfgjfhffhffvufgtsehttd ertderredtnecuhfhrohhmpedfofgrrhhtihhnucfvhhhomhhsohhnfdcuoehmtheslhho figvnhhtrhhophihrdhnvghtqeenucggtffrrghtthgvrhhnpeekteeuieektdekleefke evhfekffevvdevgfekgfeluefgvdejjeegffeigedtjeenucevlhhushhtvghrufhiiigv pedtnecurfgrrhgrmhepmhgrihhlfhhrohhmpehmtheslhhofigvnhhtrhhophihrdhnvg ht
X-ME-Proxy: <xmx:5t1VXwfw-xhIXF47aE0jb72eqCqrCqz7UUDVgMd6s08icukOu93U7g> <xmx:5t1VXyLpQpr0q0W_50hT7PFUQjYTwubOtCrPh_AJsFVJWg0MDWkDLQ> <xmx:5t1VX9KTjW8GtZ9ACwqx5Ob9rDLXlnPKCto1imkVtRkLitrqRD-MVw> <xmx:591VXyXvnRmAGwpOChb4RLUX8JCsgN8ycBYHQaFalLFCeRNeOfBpKg>
Received: by mailuser.nyi.internal (Postfix, from userid 501) id C468D20072; Mon, 7 Sep 2020 03:14:46 -0400 (EDT)
X-Mailer: MessagingEngine.com Webmail Interface
User-Agent: Cyrus-JMAP/3.3.0-259-g88fbbfa-fm-20200903.003-g88fbbfa3
Mime-Version: 1.0
Message-Id: <ec388155-d4f2-4c8b-b131-a1d0eefce5f3@www.fastmail.com>
In-Reply-To: <84534.1599462141@critter.freebsd.dk>
References: <7c1e8964-1a4b-42e6-8af1-fc7a4e43ce14@www.fastmail.com> <84534.1599462141@critter.freebsd.dk>
Date: Mon, 07 Sep 2020 17:14:27 +1000
From: "Martin Thomson" <mt@lowentropy.net>
To: ietf-http-wg@w3.org
Content-Type: text/plain
Received-SPF: pass client-ip=66.111.4.25; envelope-from=mt@lowentropy.net; helo=out1-smtp.messagingengine.com
X-W3C-Hub-Spam-Status: No, score=-9.8
X-W3C-Hub-Spam-Report: BAYES_00=-1.9, DKIM_SIGNED=0.1, DKIM_VALID=-0.1, DKIM_VALID_AU=-0.1, DKIM_VALID_EF=-0.1, RCVD_IN_DNSWL_LOW=-0.7, RCVD_IN_MSPIKE_H3=0.001, RCVD_IN_MSPIKE_WL=0.001, SPF_HELO_PASS=-0.001, SPF_PASS=-0.001, W3C_AA=-1, W3C_DB=-1, W3C_IRA=-1, W3C_IRR=-3, W3C_WL=-1
X-W3C-Scan-Sig: mimas.w3.org 1kFBMh-0003cg-Ey 0fbaa7c38d77e14e4c5ba0ab0d404a55
X-Original-To: ietf-http-wg@w3.org
Subject: Re: New precondition fields and caching
Archived-At: <https://www.w3.org/mid/ec388155-d4f2-4c8b-b131-a1d0eefce5f3@www.fastmail.com>
Resent-From: ietf-http-wg@w3.org
X-Mailing-List: <ietf-http-wg@w3.org> archive/latest/38022
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>

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.