Re: No-Vary-Search

Jeremy Roman <jbroman@chromium.org> Fri, 28 June 2024 18:48 UTC

Received: by ietfa.amsl.com (Postfix) id 69DA1C1519AC; Fri, 28 Jun 2024 11:48:25 -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 69224C15198B for <ietfarch-httpbisa-archive-bis2Juki@ietfa.amsl.com>; Fri, 28 Jun 2024 11:48:25 -0700 (PDT)
X-Virus-Scanned: amavisd-new at amsl.com
X-Spam-Flag: NO
X-Spam-Score: -3.005
X-Spam-Level:
X-Spam-Status: No, score=-3.005 tagged_above=-999 required=5 tests=[BAYES_00=-1.9, DKIMWL_WL_HIGH=-0.148, 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_ZEN_BLOCKED_OPENDNS=0.001, SPF_PASS=-0.001, T_SCC_BODY_TEXT_LINE=-0.01, 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="Y1y/FdGL"; dkim=pass (2048-bit key) header.d=w3.org header.b="HrNiVAuK"; dkim=pass (1024-bit key) header.d=chromium.org header.b="DYX8UHld"
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 q6ao_YwPs0Lq for <ietfarch-httpbisa-archive-bis2Juki@ietfa.amsl.com>; Fri, 28 Jun 2024 11:48:21 -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 5AB87C14CE51 for <httpbisa-archive-bis2Juki@ietf.org>; Fri, 28 Jun 2024 11:48:21 -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=hqYIwx9ZNYIb6jw/j5T04Nb3pVUNbCrD2jMWh/7eHak=; b=Y1y/FdGLNZzzqgZYis2o7YPEHX MKZ2QsyMcIbUvyMZAqYetRg/1Xedym2WUm+FvS6gqth5SREGngQ4GeYpQzIcU6plo9C34qywtAUAx Yx03hw2F6vrjqprJnOAqB63C+mZgUcRZFpctzWAwlN7++dxYJO0ssR7X7ogqnDMZB6/X43Jt77CB7 gWSwaXsQQZEtskQegXkS6V/lugilmqku7EBS4C8BYDpHSBl48kMm/GbEhVcCBS+QnhaSuZjGghVwp 9r5dhkmceDTyV4/AGsoIrCNu+X0AiK7VwovH+aujZ1Nm3GsgAL8rsH5NTIK73rNwH19VcjtJ0jF8P 7gtQCSFg==;
Received: from lists by mab.w3.org with local (Exim 4.96) (envelope-from <ietf-http-wg-request@listhub.w3.org>) id 1sNGcu-00609e-26 for ietf-http-wg-dist@listhub.w3.org; Fri, 28 Jun 2024 18:47:16 +0000
Resent-Date: Fri, 28 Jun 2024 18:47:16 +0000
Resent-Message-Id: <E1sNGcu-00609e-26@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 <jbroman@chromium.org>) id 1sNGcs-00608i-14 for ietf-http-wg@listhub.w3.internal; Fri, 28 Jun 2024 18:47:14 +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=hqYIwx9ZNYIb6jw/j5T04Nb3pVUNbCrD2jMWh/7eHak=; t=1719600434; x=1720464434; b=HrNiVAuK7U21Ux8Vw8+P2eljUgX5N2i63EwSEpA6KXXpl9YwRmGC//BchMvPdVoo/5GmXHCPbFS iED1P4x3WFIOjn+PeucQBQkW/FaYgp7ETslXjQD9d2m5gDPnkfSjtGow3r/SS3mHg8b7z8vqAtNpI 0DsUMqVTon95OFGPIO1SdAyw4STbSOE7vCwlkgIWEuNNMNPkJYO1uDOrb9krS+Q/RvXLKxK1nZQQ1 ndlNMzPNOugJyBwVigQsOnrnCH7to3Ytk+RTNIdG5WVcxqPlF7I008bwlcdBP8NPoq39fgWal1SIv 9oIGhyu42eFZ4bBqmEXqHXzv9gf2KnOLll8g==;
Received-SPF: pass (puck.w3.org: domain of chromium.org designates 2a00:1450:4864:20::62e as permitted sender) client-ip=2a00:1450:4864:20::62e; envelope-from=jbroman@chromium.org; helo=mail-ej1-x62e.google.com;
Received: from mail-ej1-x62e.google.com ([2a00:1450:4864:20::62e]) by puck.w3.org with esmtps (TLS1.3) tls TLS_ECDHE_RSA_WITH_AES_128_GCM_SHA256 (Exim 4.96) (envelope-from <jbroman@chromium.org>) id 1sNGcr-00CcS3-1v for ietf-http-wg@w3.org; Fri, 28 Jun 2024 18:47:14 +0000
Received: by mail-ej1-x62e.google.com with SMTP id a640c23a62f3a-a725a918edaso148927466b.3 for <ietf-http-wg@w3.org>; Fri, 28 Jun 2024 11:47:13 -0700 (PDT)
DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=chromium.org; s=google; t=1719600429; x=1720205229; 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=hqYIwx9ZNYIb6jw/j5T04Nb3pVUNbCrD2jMWh/7eHak=; b=DYX8UHld8yKw8iKmKKokqRhjH9Zv5ejDhCUREH562FF8s1kFbCEgT4DCYsIUeNmqh0 G6Vz78KPTKLhfr85sI4OA9nxDifcAfKxMsTXL3aH9ClV4Cfcd4F1Z2WjV/wgNEZe9Jfg HotjUgo4Xo68NxPN2eSnLPgQGoRvr2HKYP9YQ=
X-Google-DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=1e100.net; s=20230601; t=1719600429; x=1720205229; 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=hqYIwx9ZNYIb6jw/j5T04Nb3pVUNbCrD2jMWh/7eHak=; b=ktUTUOhLAiyHW1iRLMnkH12pVQ1Y/I12yFPzmapgsVEgKV8yOO2DwGwnW+8ZybAfZt x3PRnVoCouFJ2VLW15pNhW49ZTmwlcMPOzXkFlBXYjzAhqdDztFuutijnPuzhqev1l4w IrtdeDfTkwt29gpn3QTqFlw7awQvt/zs50kkofpqZAJGPZ8Q66gtKlorftmmZBBV++uT AC7DnnVHrIfA+9LFQHHxh0dmp/PdLDBWfkxaO4yUc20iJfN9uxM9zGWcPoI8XeVEh3bC 9VkJWZuTQMI2x5E0fEvybaUE84Fh5+sFPuFi1vcgWU1MyG3CdXD4h2Dot2wE/XLtD8Sy tDKA==
X-Forwarded-Encrypted: i=1; AJvYcCXYw1JPUrHMn7xhPaiAa+HoJ6gbqBWJd3vC2SGrZFH7nX5JOKyZMIAx16+7Bku4hyNJcWG6BLqF2h8geMMNFqhIJVsv
X-Gm-Message-State: AOJu0Yyt0KmuGHKMoINo/CgkujgTghtquaAYRm+iZ25O18HMr+1gEk4v fspoLR1Znd8FmEQ4bs6666BrBCvOAOVPcZzdld+ag4+vnwcijnZMkOdDCtffcZdkpDUFeF5GT07 SoM9YwWeXZbQDuOAO2gR5fTPwvoDioWiCF9yE
X-Google-Smtp-Source: AGHT+IEDIqRqn881KuOtNp12RKTveaM2fFMASbP8pIRDaSLOUtw1IFMtEZNHlWrVCXNEOfFUk3YxYsSQT9a8XXuJ71U=
X-Received: by 2002:a17:906:f21a:b0:a6f:c9c6:7219 with SMTP id a640c23a62f3a-a7245c8096bmr1368367066b.47.1719600429554; Fri, 28 Jun 2024 11:47:09 -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> <CAEmMwDyMZz89pRY9OPimPDR1+-nULW9ZC8DjcYfOWvuWjUdtYA@mail.gmail.com> <CAF8qwaCo1gfWaUmSi+V3_bth_Ng8id6UWvY7BeKKA4h3WuMT9A@mail.gmail.com> <CAEmMwDxN-SGQemcmTEoYS4YfVV23Q21c+Y_ePk4X7i4oTfn9hQ@mail.gmail.com> <CACsn0c=gQfmnTg=MMC427cphqXtx5zfqEnuZnkGaza1fNBBZqw@mail.gmail.com>
In-Reply-To: <CACsn0c=gQfmnTg=MMC427cphqXtx5zfqEnuZnkGaza1fNBBZqw@mail.gmail.com>
From: Jeremy Roman <jbroman@chromium.org>
Date: Fri, 28 Jun 2024 14:46:57 -0400
Message-ID: <CACuR13dmf4Hb38MTSyw-f6MgM9DFugFj3a2fmcp0jnKCxCJU-w@mail.gmail.com>
To: Watson Ladd <watsonbladd@gmail.com>
Cc: Rory Hewitt <rory.hewitt@gmail.com>, David Benjamin <davidben@chromium.org>, ietf-http-wg@w3.org
Content-Type: multipart/alternative; boundary="000000000000c27078061bf7acc2"
X-W3C-Hub-DKIM-Status: validation passed: (address=jbroman@chromium.org domain=chromium.org), signature is good
X-W3C-Hub-Spam-Status: No, score=-4.3
X-W3C-Hub-Spam-Report: BAYES_00=-1.9, DKIMWL_WL_HIGH=-0.206, DKIM_SIGNED=0.1, DKIM_VALID=-0.1, DKIM_VALID_AU=-0.1, DKIM_VALID_EF=-0.1, DMARC_PASS=-0.001, HTML_MESSAGE=0.001, RCVD_IN_ZEN_BLOCKED_OPENDNS=0.001, SPF_HELO_NONE=0.001, SPF_PASS=-0.001, URIBL_DBL_BLOCKED_OPENDNS=0.001, W3C_AA=-1, W3C_WL=-1
X-W3C-Scan-Sig: puck.w3.org 1sNGcr-00CcS3-1v c11b869e75bbd727fde4a2623fa30fe9
X-Original-To: ietf-http-wg@w3.org
Subject: Re: No-Vary-Search
Archived-At: <https://www.w3.org/mid/CACuR13dmf4Hb38MTSyw-f6MgM9DFugFj3a2fmcp0jnKCxCJU-w@mail.gmail.com>
Resent-From: ietf-http-wg@w3.org
X-Mailing-List: <ietf-http-wg@w3.org> archive/latest/52035
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>

IIUC bikeshedding doesn't affect a call for adoption, so happy to discuss
further whenever the appropriate time in the IETF process comes. (Though
this name is already the output of a previous round of bikeshedding within
the W3C process and is in use, so I admit a little reluctance to change it
unless we find a name worth the hassle of a change & deprecation process.)

On Tue, Jun 18, 2024 at 6:53 PM Watson Ladd <watsonbladd@gmail.com> wrote:

> On Tue, Jun 18, 2024 at 3:47 PM Rory Hewitt <rory.hewitt@gmail.com> wrote:
> >
> > <bikeshedding>
> >
> > Well I'm basing my "it's about caching" argument on both the RFC draft
> itself and also the excellent explainer at
> https://github.com/WICG/nav-speculation/blob/main/no-vary-search.md which
> is explicitly all about caching :)
> >
> > I think we (and others?) agree that "search" isn't a good name segment
> due to its multiple meanings. Personally, I think using the "no-" prefix
> isn't necessarily helpful, since this header can be used to specify what
> should and should not be part of the cache key. So my preference would be
> for it to be "Vary-Cache" or "Vary-Params" or "Cache-Params".
> >
> > </bikeshedding>
>
> Except that Vary works the other way, and Cache-Params would be params
> we send to the cache. So No-Vary-URL-Params is I think a better name
> than all of those.
> >
> > On Tue, Jun 18, 2024 at 3:34 PM David Benjamin <davidben@chromium.org>
> wrote:
> >>
> >> <bikeshed>
> >> I think No-Vary-Cache is a worse header name than No-Vary-Search. It
> says nothing about the URL query/search field and could just as easily
> describe the HTTP request headers or other things that the response doesn't
> vary on. That means it should include something that indicates the URL
> query/search field.
> >>
> >> As for the Cache part, it's not really a statement about the cache
> anyway. It's a statement about whether the response to this request varies
> on some property. The cache is just the primary reason for the client to
> care about this information. So, matching the precedent with the Vary
> header, I think "Vary" is enough to capture this aspect of the name without
> adding "Cache".
> >>
> >> I agree the combination of the two is awkward. It's unfortunate that
> "search" is a bit overloaded of a term, and everywhere is inconsistent
> about whether it's the "query" or the "search", but removing any reference
> to the field at all is even worse. (Tossing out an idea without opinion,
> No-Vary-(Search|Query|URL)-Params? It's really the individual params being
> targeted and not the overall search/query string.)
> >> </bikeshed>
>
>
>
> --
> Astra mortemque praestare gradatim
>