Re: No-Vary-Search

Rory Hewitt <rory.hewitt@gmail.com> Tue, 18 June 2024 22:12 UTC

Received: by ietfa.amsl.com (Postfix) id 3B8F3C16941A; Tue, 18 Jun 2024 15:12:27 -0700 (PDT)
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 3AB82C169410 for <ietfarch-httpbisa-archive-bis2Juki@ietfa.amsl.com>; Tue, 18 Jun 2024 15:12:27 -0700 (PDT)
X-Virus-Scanned: amavisd-new at amsl.com
X-Spam-Flag: NO
X-Spam-Score: -2.855
X-Spam-Level:
X-Spam-Status: No, score=-2.855 tagged_above=-999 required=5 tests=[BAYES_00=-1.9, DKIM_SIGNED=0.1, DKIM_VALID=-0.1, DKIM_VALID_AU=-0.1, DKIM_VALID_EF=-0.1, HEADER_FROM_DIFFERENT_DOMAINS=0.25, HTML_MESSAGE=0.001, MAILING_LIST_MULTI=-1, RCVD_IN_DNSWL_BLOCKED=0.001, RCVD_IN_ZEN_BLOCKED_OPENDNS=0.001, SPF_PASS=-0.001, T_SCC_BODY_TEXT_LINE=-0.01, URIBL_BLOCKED=0.001, URIBL_DBL_BLOCKED_OPENDNS=0.001, URIBL_ZEN_BLOCKED_OPENDNS=0.001] autolearn=ham autolearn_force=no
Authentication-Results: ietfa.amsl.com (amavisd-new); dkim=pass (2048-bit key) header.d=w3.org header.b="q27LCsJN"; dkim=pass (2048-bit key) header.d=w3.org header.b="QtCyOglL"; dkim=pass (2048-bit key) header.d=gmail.com header.b="NDO3C38+"
Received: from mail.ietf.org ([50.223.129.194]) by localhost (ietfa.amsl.com [127.0.0.1]) (amavisd-new, port 10024) with ESMTP id La7XLSritAou for <ietfarch-httpbisa-archive-bis2Juki@ietfa.amsl.com>; Tue, 18 Jun 2024 15:12:23 -0700 (PDT)
Received: from mab.w3.org (mab.w3.org [IPv6:2600:1f18:7d7a:2700:d091:4b25:8566:8113]) (using TLSv1.3 with cipher TLS_AES_256_GCM_SHA384 (256/256 bits) key-exchange ECDHE (P-256) server-signature RSA-PSS (2048 bits) server-digest SHA256) (No client certificate requested) by ietfa.amsl.com (Postfix) with ESMTPS id 3F927C169418 for <httpbisa-archive-bis2Juki@ietf.org>; Tue, 18 Jun 2024 15:12:23 -0700 (PDT)
DKIM-Signature: v=1; a=rsa-sha256; q=dns/txt; c=relaxed/relaxed; d=w3.org; s=s1; h=Subject:Content-Type:Cc:To:Message-ID:Date:From:In-Reply-To: References:MIME-Version:Reply-To; bh=ipR8pWNxHiK+AlTYsFCEKN4TpxwUukGV8gRTnWhYruk=; b=q27LCsJNSSbulpBxyF/Gklu7t9 kkDNAlbWeMs9DcGgrRNyIKSOofPhWVIVb4uVgJzqBG3MDdzGw5nC+G8hImSCQcgve4LviQuQmBxDN WNxv17sSv7gPZwUoC7fI8Drn7axxFx8Th/UOT+S4vWdqoGWFkq2uEMiiD4+Gri2bV1VqJxT3l4YiI 5Z4JZs61KSn/7/FwyXplhrUX1Doad0lprsBl08TAS7C6Fdhsrq+vqOog3MkfNYAeA/zsW1j9GYEOd bkGG4xUb3xfjOHGg9lMqJckphFBCO2G/8QJMfVn3h9U4kfTOg1/Cl8MKa0F53jJwWCMMUOK6LxXb9 ZKxXlkgw==;
Received: from lists by mab.w3.org with local (Exim 4.96) (envelope-from <ietf-http-wg-request@listhub.w3.org>) id 1sJh3A-00GlY2-0N for ietf-http-wg-dist@listhub.w3.org; Tue, 18 Jun 2024 22:11:36 +0000
Resent-Date: Tue, 18 Jun 2024 22:11:36 +0000
Resent-Message-Id: <E1sJh3A-00GlY2-0N@mab.w3.org>
Received: from ip-10-0-0-224.ec2.internal ([10.0.0.224] helo=puck.w3.org) by mab.w3.org with esmtps (TLS1.3) tls TLS_ECDHE_RSA_WITH_AES_256_GCM_SHA384 (Exim 4.96) (envelope-from <roryhewitt@gmail.com>) id 1sJh36-00GlX7-2H for ietf-http-wg@listhub.w3.internal; Tue, 18 Jun 2024 22:11:32 +0000
DKIM-Signature: v=1; a=rsa-sha256; q=dns/txt; c=relaxed/relaxed; d=w3.org; s=s1; h=Content-Type:Cc:To:Subject:Message-ID:Date:From:In-Reply-To: References:MIME-Version:Reply-To; bh=ipR8pWNxHiK+AlTYsFCEKN4TpxwUukGV8gRTnWhYruk=; t=1718748692; x=1719612692; b=QtCyOglLIIr23c5J4M77Y+kx4tHx8o7ipsn3xTXtN3agsZq14J3IE0nrst8AmRnk4q++u4DLkpU /SjrDtGlHPeIXjom8mvADUrj+79ZFK227VxXKZmSY9fURTrY7GsOV3n7mkK0Cbnqsj5Sum1YyaZMf xTm/v4brkXYOHHsmZeI4t5TdkhWHQY3664XNnjjZDn6hdMonAHYzWhSuj1jXymcn/o7TcFuAX1e5b qcb0nIc8BF3ex7cSHpUkM+hjDq3LwRJB/7ApeUZwpmiOw3sUu3idy8z406tPrdmEAB0vft7Ss14RG Kiks2oHykav4dBD0J8LZXmIbQu9wFTuxoL2Q==;
Received-SPF: pass (puck.w3.org: domain of gmail.com designates 2a00:1450:4864:20::435 as permitted sender) client-ip=2a00:1450:4864:20::435; envelope-from=roryhewitt@gmail.com; helo=mail-wr1-x435.google.com;
Received: from mail-wr1-x435.google.com ([2a00:1450:4864:20::435]) by puck.w3.org with esmtps (TLS1.3) tls TLS_ECDHE_RSA_WITH_AES_128_GCM_SHA256 (Exim 4.96) (envelope-from <roryhewitt@gmail.com>) id 1sJh35-0098A5-2x for ietf-http-wg@w3.org; Tue, 18 Jun 2024 22:11:32 +0000
Received: by mail-wr1-x435.google.com with SMTP id ffacd0b85a97d-354b722fe81so5299052f8f.3 for <ietf-http-wg@w3.org>; Tue, 18 Jun 2024 15:11:31 -0700 (PDT)
DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=gmail.com; s=20230601; t=1718748687; x=1719353487; darn=w3.org; h=cc:to:subject:message-id:date:from:in-reply-to:references :mime-version:from:to:cc:subject:date:message-id:reply-to; bh=ipR8pWNxHiK+AlTYsFCEKN4TpxwUukGV8gRTnWhYruk=; b=NDO3C38+eJ+TMse3IC1tPVWbL4Vmeyvfni/sthVzTdV4pJHTY6EI3UoVaA78zwvQSD O3ZBd7cw2MEabsFnxQCk9S+81MRqnk9S+3iXaa5o9eMw3vL48qaTmIPRQQ+St9BzOdOF ve2UG6tbJmHw7tbn6PLU/aICg9ykuU88leei69IZTqNGcC03yTtEGe8ZQmFJgckdREZl CncCNcRFJWpMOEzTcf5YsIZfT/EU6DxeD4cqToNGO3+5EvsMvteFxpdeu8gOvQD6iExz CHOvjFCZQNAKgVzsJyrCCJIHpPbVOOeiJw5AgPcBhn2SGWM1430ZpnRMyuMTR0qcnXko ObZQ==
X-Google-DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=1e100.net; s=20230601; t=1718748687; x=1719353487; h=cc:to:subject:message-id:date:from:in-reply-to:references :mime-version:x-gm-message-state:from:to:cc:subject:date:message-id :reply-to; bh=ipR8pWNxHiK+AlTYsFCEKN4TpxwUukGV8gRTnWhYruk=; b=A3ODQB/c9kECQ5nT14qgVJtuSWHLhIaBtKkSoE2/JA6ItyCI1M0YLwoADYHzObBV61 ztctDWtmeY/gZ9G1COQwIuKwacxyBsMLQsCgzQsCtuGBcbEE0PhRnqsj2WCAW7ZTNLzM pAkiwzJMPFYCHXefd4XMOM2kPfyuCIECrLhf0VcBtk8EhnAGRg8g1tV7JMXghVYAONX/ 0raSpNQMLKKnuZ7qH3KqkCsPbcIvJQa9ndBFOtu7YE41OusZXux1SUqa600PhbH+YtT/ fs4BbJheqpRYoz7NnftzxS5aGpChM/eOXfKC6JOFqyfARIp9d0OxJpyog3exdcqaWeIu gGRw==
X-Gm-Message-State: AOJu0YzWKue8zcAQ1PBpxwXtQL1Rz5ZkSTmM2pJjpBrScetsiRBxAgGS 3zLodxjHdXZt5mDrS2dbvKE+V3i/mpCRtFs2uaCL7VRqyzJG/2678GmZS8FLF1/4OO8azxt15QM dhPVNKD3GAO+FStUxNI0g9JlvCANXbw==
X-Google-Smtp-Source: AGHT+IGZzgS4hQ9LEgr/jZlNqpIQFPdbBv7EnReITnHSA70Pm+Asc+mK50uZzY8d/EcN0vIeIaikbnovPj+YeNuYnjk=
X-Received: by 2002:a5d:6152:0:b0:360:709c:5040 with SMTP id ffacd0b85a97d-363171e2b5bmr797877f8f.2.1718748687176; Tue, 18 Jun 2024 15:11:27 -0700 (PDT)
MIME-Version: 1.0
References: <CACuR13cnHHoRv_Z-HtJeOyJqZb7AVU-_udQ=R_x9qQ1_JeP=KQ@mail.gmail.com> <CAEmMwDwZ8RB0Zz5GCbPeSFH-1tVgTW-hy4_0Fd1L90hNi3h0RA@mail.gmail.com> <CAEmMwDwxpy7QvJBx01WZpHmH=c2QKE6Q7iBAQisNSqRaxBoz3Q@mail.gmail.com> <CACuR13fENsddR_-3NK+w8w5OvcOwnyt=_eiHsK0E0S2X4rr=ZQ@mail.gmail.com>
In-Reply-To: <CACuR13fENsddR_-3NK+w8w5OvcOwnyt=_eiHsK0E0S2X4rr=ZQ@mail.gmail.com>
From: Rory Hewitt <rory.hewitt@gmail.com>
Date: Tue, 18 Jun 2024 15:11:16 -0700
Message-ID: <CAEmMwDyMZz89pRY9OPimPDR1+-nULW9ZC8DjcYfOWvuWjUdtYA@mail.gmail.com>
To: Jeremy Roman <jbroman@chromium.org>
Cc: ietf-http-wg@w3.org
Content-Type: multipart/alternative; boundary="000000000000f51b37061b315c82"
X-W3C-Hub-DKIM-Status: validation passed: (address=roryhewitt@gmail.com domain=gmail.com), signature is good
X-W3C-Hub-Spam-Status: No, score=-5.1
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, DMARC_PASS=-0.001, FREEMAIL_FROM=0.001, HTML_MESSAGE=0.001, RCVD_IN_ZEN_BLOCKED_OPENDNS=0.001, SPF_HELO_NONE=0.001, SPF_PASS=-0.001, T_SCC_BODY_TEXT_LINE=-0.01, URIBL_BLOCKED=0.001, URIBL_DBL_BLOCKED_OPENDNS=0.001, W3C_AA=-1, W3C_DB=-1, W3C_WL=-1
X-W3C-Scan-Sig: puck.w3.org 1sJh35-0098A5-2x ae8738f2669953f0a88ba876f7321484
X-Original-To: ietf-http-wg@w3.org
Subject: Re: No-Vary-Search
Archived-At: <https://www.w3.org/mid/CAEmMwDyMZz89pRY9OPimPDR1+-nULW9ZC8DjcYfOWvuWjUdtYA@mail.gmail.com>
Resent-From: ietf-http-wg@w3.org
X-Mailing-List: <ietf-http-wg@w3.org> archive/latest/52027
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/email/>
List-Post: <mailto:ietf-http-wg@w3.org>
List-Unsubscribe: <mailto:ietf-http-wg-request@w3.org?subject=unsubscribe>

<bikeshedding>

Oh, I get the idea to extend/build upon/mimic/evoke the Vary header, and
FWIW, I really like the general 'No-Vary' idea. I'm just concerned about
the specific 'No-Vary-Search' name, as it implies something to do with the
generally understood concept of 'search' (y'know, searching for things) and
honestly, I'd completely forgotten that the query string is sometimes
called the 'search' part of the URL. It's a weirdly technical use of that
term that few outside the IETF/W3C would either know or understand. But
here we are...

Since this header is about how user agents should cache content where that
content may be accessed via similar but slightly different URLs, maybe
'Vary-Cache' is also an option? This more generic name would also enable
the header to be extended in the future to cover things in addition to the
URL query parameters without the name becoming out-of-date.

But all of this may just be me being grumpy and objecting to the use of
'search' in its technical meaning rather than its commonly-used meaning.

</bikeshedding>

On Tue, Jun 18, 2024 at 2:31 PM Jeremy Roman <jbroman@chromium.org> wrote:

> On Tue, Jun 18, 2024 at 1:20 PM Rory Hewitt <rory.hewitt@gmail.com> wrote:
>>
>>> Hey Jeremy,
>>>
>>> > This was originally No-Vary-Query, but the web-exposed APIs call this
>>> part of the URL "search", so this change was requested in a W3C discussion.
>>>
>>> I can understand why you changed the name from "No-Vary-Query", but
>>> given that it's primarily a mechanism to change the way that content is
>>> cached, I think it makes sense to call it "No-Vary-Cache"
>>>
>>
> I'll avoid getting too deep into bikeshed painting, but briefly: I hoped
> to evoke the longstanding Vary header
> <https://www.rfc-editor.org/rfc/rfc9110#field.vary>.
>