Re: Genart last call review of draft-ietf-httpbis-cache-16

Mark Nottingham <mnot@mnot.net> Mon, 31 May 2021 02:11 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 C2C593A4451 for <ietfarch-httpbisa-archive-bis2Juki@ietfa.amsl.com>; Sun, 30 May 2021 19:11:40 -0700 (PDT)
X-Virus-Scanned: amavisd-new at amsl.com
X-Spam-Flag: NO
X-Spam-Score: -7.749
X-Spam-Level:
X-Spam-Status: No, score=-7.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_DNSWL_HI=-5, RCVD_IN_MSPIKE_H4=0.001, RCVD_IN_MSPIKE_WL=0.001, SPF_PASS=-0.001, URIBL_BLOCKED=0.001] autolearn=unavailable autolearn_force=no
Authentication-Results: ietfa.amsl.com (amavisd-new); dkim=pass (2048-bit key) header.d=mnot.net header.b=psT1e0ub; dkim=pass (2048-bit key) header.d=messagingengine.com header.b=RMqLSoCO
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 zr-qvkfK3MH9 for <ietfarch-httpbisa-archive-bis2Juki@ietfa.amsl.com>; Sun, 30 May 2021 19:11:36 -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 3ACED3A27B0 for <httpbisa-archive-bis2Juki@lists.ietf.org>; Sun, 30 May 2021 19:11:35 -0700 (PDT)
Received: from lists by lyra.w3.org with local (Exim 4.92) (envelope-from <ietf-http-wg-request@listhub.w3.org>) id 1lnXLO-0004Cy-IW for ietf-http-wg-dist@listhub.w3.org; Mon, 31 May 2021 02:07:57 +0000
Resent-Date: Mon, 31 May 2021 02:07:54 +0000
Resent-Message-Id: <E1lnXLO-0004Cy-IW@lyra.w3.org>
Received: from titan.w3.org ([128.30.52.76]) by lyra.w3.org with esmtps (TLS1.3:ECDHE_RSA_AES_256_GCM_SHA384:256) (Exim 4.92) (envelope-from <mnot@mnot.net>) id 1lnXLG-0004CC-4f for ietf-http-wg@listhub.w3.org; Mon, 31 May 2021 02:07:47 +0000
Received: from out2-smtp.messagingengine.com ([66.111.4.26]) by titan.w3.org with esmtps (TLS1.3:ECDHE_RSA_AES_256_GCM_SHA384:256) (Exim 4.92) (envelope-from <mnot@mnot.net>) id 1lnXL3-0004tW-VG for ietf-http-wg@w3.org; Mon, 31 May 2021 02:07:39 +0000
Received: from compute4.internal (compute4.nyi.internal [10.202.2.44]) by mailout.nyi.internal (Postfix) with ESMTP id 1873F5C00D6; Sun, 30 May 2021 22:07:20 -0400 (EDT)
Received: from mailfrontend2 ([10.202.2.163]) by compute4.internal (MEProxy); Sun, 30 May 2021 22:07:20 -0400
DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=mnot.net; h= content-type:mime-version:subject:from:in-reply-to:date:cc :content-transfer-encoding:message-id:references:to; s=fm2; bh=p 1/93I6pGGidaLdaGk8CSKchMWWUP/QUF6GooUqQFv8=; b=psT1e0ub0JZkopmDj SBcwfkst47b5eoLDVQVF+XOJ2dPiD6wZiDOy8dfJjqD5xiK4B0muRDD8A7ZOjr88 skPMyJXTtequxDnjDSYxQHopW5wgrTNlvodXqoWQf0DTAPD2Yh/wTOOmQnPqLngE /KJsDXcAieHYLpABy72zNqcSmbS+397o+A3LJMlMSTFngg8dMuwJLxbxVCJ4n+d7 vSJ4LXzXXNm65FX0g8NJExfykS1ocxt96gWWIVDdqGENmedni7QK8PLn9hPNCXMC HWu6ME7iH1irBxKIP/OGkGT05+s4Pik26o58ZKlOKQlyYDJMng+d+XjgqoWXwiS0 bXKQg==
DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d= messagingengine.com; h=cc:content-transfer-encoding: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=fm2; bh=p1/93I6pGGidaLdaGk8CSKchMWWUP/QUF6GooUqQF v8=; b=RMqLSoCOotR0HaG2ZBFpA7aDaFin+k676gFXsLiYe7sIe7RdCvRy/Ivcv ytpg7cTU4/vekIM198FnwtET5sTR25wzRKRyKiwybZwBbpiaRmF4DC8YedWr+u/j WwJuGZY+TL4Idl4CodDZuyHLcuQ7RNLP0oIctVQj5tvaLuIfEXGh9i728SsGoVQQ aDp0Y+DYDuca5T6+sR4/5Z26vhTYIF0EJqpKVUWdqkKtsazGB3eFhPx+yl6oPqsV 5yhMvRXAdo9jqovJMhQynYjRCTRihSBfmlHichCDMSG12FGHAzLrwk9BelgHtKok 6luYagZen+7ieO3nsFgLGRCNTStEg==
X-ME-Sender: <xms:1US0YOtSz3HtmUxB5O56Qopin_OCgEQ9-4v3hZ7O6B6Nps53R9GspA> <xme:1US0YDeMXzz_f4D7ClCm3OnUz63x2p5t9k1W-PnF5xFZc8zcT6T_MmFwJjNDjBwgg aLCtv5_1Jmx-ibCIw>
X-ME-Received: <xmr:1US0YJx1vHixaCEKclzNK4P5_AE-k0WZRnZi4FFhRCe-0j1cVDyX85Ypa2uxemAP8 trXbwLD9hYRYuSa8wYVurS7fWQps6U7prU21gUrayjaLEyWyFZ2VYoqo1jFzHaszw8e0n3 pdMU8B_FYpIE9zQklmZnjRplqFzDp3Od2bd8NvmKQXzQQmL7Pa7JO2KwEQhaSHcEN8Ci9h ghfA4RdKhtAGpQYQsqki7uB1lxFt9MxcGc-cmcNstOEHw>
X-ME-Received: <xmr:1US0YJOnm7KnizeHDxkkRIN9LUwfHIev6GhNZMIkQXjtvuG67zoXgF4VvnJtxHcmhkGfQWk0zIG0jz54vjnjZJbzAhcGTXj4H5eLYT6fKpq0g1V3dmBBVv3e>
X-ME-Proxy-Cause: gggruggvucftvghtrhhoucdtuddrgeduledrvdelvddgheegucetufdoteggodetrfdotf fvucfrrhhofhhilhgvmecuhfgrshhtofgrihhlpdfqfgfvpdfurfetoffkrfgpnffqhgen uceurghilhhouhhtmecufedttdenucesvcftvggtihhpihgvnhhtshculddquddttddmne cujfgurheptggguffhjgffgffkfhfvofesthhqmhdthhdtvdenucfhrhhomhepofgrrhhk ucfpohhtthhinhhghhgrmhcuoehmnhhothesmhhnohhtrdhnvghtqeenucggtffrrghtth gvrhhnpefgleeiffevgfdthefhffdvvdekueelvddujeekjeejfeeuleeggeefffdtleek leenucffohhmrghinhephhhtthhpfhhivghlughnrghmvghrvghgihhsthhrhidrihhtpd hgihhthhhusgdrtghomhdpmhhnohhtrdhnvghtnecuvehluhhsthgvrhfuihiivgeptden ucfrrghrrghmpehmrghilhhfrhhomhepmhhnohhtsehmnhhothdrnhgvth
X-ME-Proxy: <xmx:1US0YO8vnBYdNgSH-r4kNfuplYZL2CbEkxto9NE_Rt8jUC9kef0l6Q> <xmx:1US0YBW_y-YRd_WrsSZk7MNmueiULNtQ6D8R0pbGdRx3ERmaqGgcKg> <xmx:1US0YHfLZiJKvJzQf8Hs9umY7qMwlarBtTax7k5np7c0DJDdjtfrqA> <xmx:2ES0YDOSsC5zgo1SaKLDU9ZKIefPH2F2eGgpb2tVCuVMsmEYX0iTiw>
Received: by mail.messagingengine.com (Postfix) with ESMTPA; Sun, 30 May 2021 22:07:15 -0400 (EDT)
Content-Type: text/plain; charset="us-ascii"
Mime-Version: 1.0 (Mac OS X Mail 14.0 \(3654.80.0.2.43\))
From: Mark Nottingham <mnot@mnot.net>
In-Reply-To: <162238407309.22812.14001073203740035939@ietfa.amsl.com>
Date: Mon, 31 May 2021 12:07:13 +1000
Cc: gen-art@ietf.org, draft-ietf-httpbis-cache.all@ietf.org, ietf-http-wg@w3.org, last-call@ietf.org
Content-Transfer-Encoding: quoted-printable
Message-Id: <5FF6DC9E-1A66-4F75-92FD-0305E15342C3@mnot.net>
References: <162238407309.22812.14001073203740035939@ietfa.amsl.com>
To: Mohit Sethi <mohit.m.sethi@ericsson.com>
X-Mailer: Apple Mail (2.3654.80.0.2.43)
Received-SPF: pass client-ip=66.111.4.26; envelope-from=mnot@mnot.net; helo=out2-smtp.messagingengine.com
X-W3C-Hub-DKIM-Status: validation passed: (address=mnot@mnot.net domain=mnot.net), signature is good
X-W3C-Hub-DKIM-Status: validation passed: (address=mnot@mnot.net domain=messagingengine.com), signature is good
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.01, RCVD_IN_MSPIKE_WL=-0.01, 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: titan.w3.org 1lnXL3-0004tW-VG fcc69b2b84f4d97a3f236f4f74ead38f
X-Original-To: ietf-http-wg@w3.org
Subject: Re: Genart last call review of draft-ietf-httpbis-cache-16
Archived-At: <https://www.w3.org/mid/5FF6DC9E-1A66-4F75-92FD-0305E15342C3@mnot.net>
Resent-From: ietf-http-wg@w3.org
X-Mailing-List: <ietf-http-wg@w3.org> archive/latest/38833
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>

Hi Mohit,

Thanks for the review. Responses below.

> On 31 May 2021, at 12:14 am, Mohit Sethi via Datatracker <noreply@ietf.org> wrote:

> - In the HTML version of the draft, the reference to [Semantics] does not work
> properly. I looked at the xml source which looks fine. I suspect it is
> something to do with the tooling.

Julian has covered this, I think.

> - It is not clear to me which draft is creating the "Hypertext Transfer
> Protocol (HTTP) Field Name Registry". It seems both this draft and
> draft-ietf-httpbis-semantics are creating it? Perhaps you could remove the text
> in this draft saying "introduce the new" and just ask IANA to update the
> registry with fields in Table 1 of this draft.

That text includes a reference to the Semantics text creating the registry, so I think it's clear which is doing the work. It's important to mention this because it's a fairly substantial change from IANA's standpoint.

> Nits/editorial comments:
> 
> - Section 1: When does a client or server act as "tunnel"? I don't know if it
> is absolutely necessary to explain the term. You can decide.

This is defined in Semantics; I've added a reference in https://github.com/httpwg/http-core/commit/ee8c9306972

> - Section 1: HTTP caching's goal is significantly improving performance -> HTTP
> caching's goal is to significantly improve performance?

That introduces a split infinitive.

> - Section 1.3: Maybe it is obvious to many readers, but I was not sure what is
> meant by a "canned string"?

Fixed in https://github.com/httpwg/http-core/commit/51bfc119585

> - Section 3 vs Section 4: "A cache MUST NOT store a response to a request
> unless:" does not have a comma before unless while "When presented with a
> request, a cache MUST NOT reuse a stored response, unless:" has a comma before
> unless?

https://github.com/httpwg/http-core/commit/da887ff5

> - Some of the bullets in section 3 and 4 were hard to parse. Take for example:
> "When presented with a request, a cache MUST NOT reuse a stored response,
> unless: the stored response does not contain the no-cache cache directive
> (Section 5.2.2.4), unless it is successfully validated (Section 4.3), and". I
> am not sure how to simplify the text on all these requirements.

We've struggled with how to clearly state these requirements for some time now; the feedback we've received during and since RFC7234 indicates that this format is preferred. That said, the specific phrasing is undoubtedly not perfect, and we're open to suggestions for improvements.

Cheers and thanks again,


--
Mark Nottingham   https://www.mnot.net/