Re: No-Vary-Search

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

Received: by ietfa.amsl.com (Postfix) id 8D505C1840EB; Tue, 18 Jun 2024 13:21:40 -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 8C880C1840E1 for <ietfarch-httpbisa-archive-bis2Juki@ietfa.amsl.com>; Tue, 18 Jun 2024 13:21:40 -0700 (PDT)
X-Virus-Scanned: amavisd-new at amsl.com
X-Spam-Flag: NO
X-Spam-Score: -2.857
X-Spam-Level:
X-Spam-Status: No, score=-2.857 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, 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="KaknNqj8"; dkim=pass (2048-bit key) header.d=w3.org header.b="d73c6slL"; dkim=pass (2048-bit key) header.d=gmail.com header.b="PLLaycx/"
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 RgRs2Uqrgw1a for <ietfarch-httpbisa-archive-bis2Juki@ietfa.amsl.com>; Tue, 18 Jun 2024 13:21:36 -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 68FBFC180B44 for <httpbisa-archive-bis2Juki@ietf.org>; Tue, 18 Jun 2024 13:21:36 -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=appHQfW/P6kQzybHbPY//a1qms4LRyBmASE5UbZJWac=; b=KaknNqj85pMud04/E0Sj0Y//yL 3An/F2Rs3gfzuN4Yov1kJPhJHXGmMJmH6c4ZqxRkylLu1/JBNosU34d21TtVJwFMVSX7su44epNuG 2NT2e6BmvVFtOey5L6UXUE3xIez2ZrrVfIXcusb+TgDS19RL5icJv66EevhTkPE56I7mUFdbJt4/8 amRyurEMZJuKBn42/WTvgkijS3kUhXCIjc0ktq7W2NZK+I77JM9/iJ0JdwYv5eNwM2BS8c0wWTo4p BHk9GSVGPkGjgJ+Qm+6wQYRCG9hyAtSrjn33BoW3YPGJ4OIJhbX6VMTzl3eZmy8XK2Jg6A+iP3+Ai 0olvfQaA==;
Received: from lists by mab.w3.org with local (Exim 4.96) (envelope-from <ietf-http-wg-request@listhub.w3.org>) id 1sJfJh-00GWrr-0z for ietf-http-wg-dist@listhub.w3.org; Tue, 18 Jun 2024 20:20:33 +0000
Resent-Date: Tue, 18 Jun 2024 20:20:33 +0000
Resent-Message-Id: <E1sJfJh-00GWrr-0z@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 1sJfJd-00GWqw-1v for ietf-http-wg@listhub.w3.internal; Tue, 18 Jun 2024 20:20:29 +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=appHQfW/P6kQzybHbPY//a1qms4LRyBmASE5UbZJWac=; t=1718742029; x=1719606029; b=d73c6slLd85hI6KVXyew1aWQ+weT59szoXCnRTiQv745DnZXJ7Jmy1nSumv5AOQNT4b2DfqrCn/ XSgAPoyiLZp5I8HcoaTc3yPtnfGZfNYdk+HUlaUbrOoL7uq9yr0WLFUNG8w5rlgTdF0shPlFk8pb8 R5ytShsIfi1gw8cStGSeGRpcvdIJAYi1FS06QRtYNWSQKE6fbLcNUHG2FgDWRYQGuvbBkXbeswJXI 2Hd6DTCOKwJL+llsx7HWHQK4MQ5kaq1WnlMOi73zntg3siXNASA0aAtW4Z1EoUmVEvC2JX1kxz9gf Yjk5eDpye7LHDu0A0L34T6peaGSi9Yh6V4Dg==;
Received-SPF: pass (puck.w3.org: domain of gmail.com designates 2a00:1450:4864:20::334 as permitted sender) client-ip=2a00:1450:4864:20::334; envelope-from=roryhewitt@gmail.com; helo=mail-wm1-x334.google.com;
Received: from mail-wm1-x334.google.com ([2a00:1450:4864:20::334]) 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 1sJfJc-0096Qf-2u for ietf-http-wg@w3.org; Tue, 18 Jun 2024 20:20:29 +0000
Received: by mail-wm1-x334.google.com with SMTP id 5b1f17b1804b1-4217926991fso52532285e9.3 for <ietf-http-wg@w3.org>; Tue, 18 Jun 2024 13:20:28 -0700 (PDT)
DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=gmail.com; s=20230601; t=1718742025; x=1719346825; 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=appHQfW/P6kQzybHbPY//a1qms4LRyBmASE5UbZJWac=; b=PLLaycx/eeDij4lYPyuwJv2oA8PvmcTkNEfFpJMtzpNdL2iBLiaPa3JD2tgHgeylI7 vsbUeYSGz/vhTt8DzvXTuASSVs5fRoBuxQrcN4ykrMr2SWP3dDoemGc8GlnnLuOo0l4C RoQZgxT+UICkQeXEmozr+CXnyMGz2TvMF9EEd4eawoAqk2Wqbfa3S/gMzwMuWdgSleaS gx3K2W0hcEXYKZ/XBFttH0tzhouEJXbfZ+Lq09FiZdI83lXL45KeVXXZGnxqUjNC9FQC 7O7viw19TT8+1QtQQl5kpAzsLsFBs7AEVBtQlRMjiEcF6APZuNxBYSO5N+TX6Qn12iiO RTcw==
X-Google-DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=1e100.net; s=20230601; t=1718742025; x=1719346825; 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=appHQfW/P6kQzybHbPY//a1qms4LRyBmASE5UbZJWac=; b=iHhzeu6LZOitv04o4JLhDntFSfhAuBV2RbCliXE7lYkYtUu/8WZXtUeSYVp/OdEKTQ Cwb7zfxe3n8q95HY9Sg10a73KD3l2KnVpp57gH2xPLU42rM7Mds9eWj72l9mo0Tloj4h jX5B2s0ToqYZSs6zdClKBTwAiz81Xz67OmQuMIbNxq6Oe1l7E0M/0/vXABedRzRR7Mvw SCUxppmFOJSvH0RVa2FJbvjxkkajXC1Q0psVFtLN1RbogleX1jAUD+frOHuWskf58Lij tvS6W2tX/wuZFonDBLAgUeQy377kRCiuULSfcGEN4vetHD2L+iZT6h6UAyQ4hb5EnHNh PJ0A==
X-Gm-Message-State: AOJu0YwZEukg+2mW87wmgbA2io1/JLRiaZtkYBfY1ZJp0czEUHSr73QL LwMKdG8ZtjmAQIVnwX4Qke6X1LUWCNTAG9m/2I8l69BigQZamyO4V+YQmg3n6ayheUFe8MLmt+M O56vDXUmFVlJfQnA9jfBC3RSIh0rEYfNl
X-Google-Smtp-Source: AGHT+IE01wsCCYxhztSTonF8w+4a0urASZgHWR5xVTNzJgYvvi5A++HfrWMDNQr1+phTaGlXZlUQXRCKbXNCae+Ovvc=
X-Received: by 2002:adf:eece:0:b0:362:1b31:b365 with SMTP id ffacd0b85a97d-363175b83e8mr600076f8f.28.1718742024324; Tue, 18 Jun 2024 13:20:24 -0700 (PDT)
MIME-Version: 1.0
References: <CACuR13cnHHoRv_Z-HtJeOyJqZb7AVU-_udQ=R_x9qQ1_JeP=KQ@mail.gmail.com>
In-Reply-To: <CACuR13cnHHoRv_Z-HtJeOyJqZb7AVU-_udQ=R_x9qQ1_JeP=KQ@mail.gmail.com>
From: Rory Hewitt <rory.hewitt@gmail.com>
Date: Tue, 18 Jun 2024 13:20:13 -0700
Message-ID: <CAEmMwDwZ8RB0Zz5GCbPeSFH-1tVgTW-hy4_0Fd1L90hNi3h0RA@mail.gmail.com>
To: Jeremy Roman <jbroman@chromium.org>
Cc: ietf-http-wg@w3.org
Content-Type: multipart/alternative; boundary="000000000000d20fdc061b2fcfe3"
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 1sJfJc-0096Qf-2u 361555f6354a916edf73f96d9980e4b6
X-Original-To: ietf-http-wg@w3.org
Subject: Re: No-Vary-Search
Archived-At: <https://www.w3.org/mid/CAEmMwDwZ8RB0Zz5GCbPeSFH-1tVgTW-hy4_0Fd1L90hNi3h0RA@mail.gmail.com>
Resent-From: ietf-http-wg@w3.org
X-Mailing-List: <ietf-http-wg@w3.org> archive/latest/52024
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>

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 think this document needs a high-level overview section, explaining what
you're trying to do and what specific problems you're trying to solve.
You're clearly deep in the weeds on it (I don't mean that pejoratively!)
but for those of us that are coming at it fresh, it needs something there
to tell us about the idea/project.

On Tue, Feb 20, 2024 at 6:14 PM Jeremy Roman <jbroman@chromium.org> wrote:

> Hello HTTPWG:
>
> This is tangentially unrelated to my previous email, but I've split it
> into another thread to avoid entangling the two.
>
> A developer previously reported to us that their ability to use the
> prefetch cache was limited because their prefetch request URLs needed to
> include certain query parameters which are different from the navigation
> request URL, even though these URLs do not affect the resource the server
> ultimately produces (and therefore, the client can safely use the
> resource). The explainer
> <https://github.com/WICG/nav-speculation/blob/main/no-vary-search.md> we
> wrote goes through some of the possible use cases in more detail.
>
> The semantics we have right now (and the header name, No-Vary-Search¹) are
> designed with the concept of being implementable in non-browser HTTP
> implementations, but since browser use cases were what we are focused on,
> there are some places where the semantics rely on, e.g., WHATWG URL
> <https://url.spec.whatwg.org/>, which may vary in subtle ways from other
> concepts of the meaning of the query string (since IETF HTTP doesn't
> currently take a position on that as far as I know).
>
> The specification draft
> <https://wicg.github.io/nav-speculation/no-vary-search.html> is currently
> hosted by the W3C's Web Incubator Community Group (WICG) and we've
> previously discussed it in a W3C context, but it was suggested that we
> bring it to HTTPWG's attention, too, and if there is interest among
> participants it could migrate to an HTTPWG RFC instead of continuing
> incubation in the web standards venues.
>
> ¹ 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.
>


-- 
Rory Hewitt

https://www.linkedin.com/in/roryhewitt