No-Vary-Search

Jeremy Roman <jbroman@chromium.org> Wed, 21 February 2024 02:11 UTC

Return-Path: <ietf-http-wg-request+bounce-httpbisa-archive-bis2juki=ietf.org@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 89300C180B77 for <ietfarch-httpbisa-archive-bis2Juki@ietfa.amsl.com>; Tue, 20 Feb 2024 18:11:03 -0800 (PST)
X-Virus-Scanned: amavisd-new at amsl.com
X-Spam-Flag: NO
X-Spam-Score: -2.595
X-Spam-Level:
X-Spam-Status: No, score=-2.595 tagged_above=-999 required=5 tests=[BAYES_00=-1.9, DKIMWL_WL_HIGH=-0.001, DKIM_SIGNED=0.1, DKIM_VALID=-0.1, DKIM_VALID_AU=-0.1, DKIM_VALID_EF=-0.1, HEADER_FROM_DIFFERENT_DOMAINS=0.249, HTML_MESSAGE=0.001, HTML_OBFUSCATE_05_10=0.26, MAILING_LIST_MULTI=-1, RCVD_IN_DNSWL_BLOCKED=0.001, RCVD_IN_MSPIKE_H3=0.001, RCVD_IN_MSPIKE_WL=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="QnE5ado8"; dkim=pass (2048-bit key) header.d=w3.org header.b="Y4LjxLfC"; dkim=pass (1024-bit key) header.d=chromium.org header.b="RoknxseN"
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 XNm-3cQON2c1 for <ietfarch-httpbisa-archive-bis2Juki@ietfa.amsl.com>; Tue, 20 Feb 2024 18:10:59 -0800 (PST)
Received: from lyra.w3.org (lyra.w3.org [128.30.52.18]) (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 4A68CC180B76 for <httpbisa-archive-bis2Juki@ietf.org>; Tue, 20 Feb 2024 18:10:59 -0800 (PST)
DKIM-Signature: v=1; a=rsa-sha256; q=dns/txt; c=relaxed/relaxed; d=w3.org; s=s1; h=Subject:Content-Type:To:Message-ID:Date:From:MIME-Version:Cc:Reply-To :In-Reply-To:References; bh=2EguLtW8RH4fmpHdd5CNpo00Gkf7fKkdIb038w1Bqfw=; b=Q nE5ado8SxLtJMjleNGXD5ifNeJB8A6W8k9pVtETDNLBxryGd/IS8y93TOJaVuk8jqlfsnDHd3vqo4 Orp9rOSmI82MopduwwsrI2FsAm3nDIOsaT0DHg9oICPhseETXw5HvOgEwZxpPVKA8lsF2RaSOaY3N alZx4GyrlR8wCOwicJbqTs/b6B9Pc1E0RG4GKZW6urLJAPbTMOChEo/Is3Zp/4iGYzFXsFq8meKvV YTVNxpt3pRcCKS+MPBbgm+zRuJVJXXMAYYgXSk1OZHeDrEzSINYf7Nl7YBBJmA7tL+0Kp7KnLOWId G3he11hhWYr8vlYVVcQnPN8AyMKPtiZ3A==;
Received: from lists by lyra.w3.org with local (Exim 4.94.2) (envelope-from <ietf-http-wg-request@listhub.w3.org>) id 1rcc2h-003lwh-P9 for ietf-http-wg-dist@listhub.w3.org; Wed, 21 Feb 2024 02:09:03 +0000
Resent-Date: Wed, 21 Feb 2024 02:09:03 +0000
Resent-Message-Id: <E1rcc2h-003lwh-P9@lyra.w3.org>
Received: from pan.w3.org ([3.222.182.102]) by lyra.w3.org with esmtps (TLS1.3) tls TLS_ECDHE_RSA_WITH_AES_256_GCM_SHA384 (Exim 4.94.2) (envelope-from <jbroman@chromium.org>) id 1rcc2g-003luz-7p for ietf-http-wg@listhub.w3.org; Wed, 21 Feb 2024 02:09:02 +0000
DKIM-Signature: v=1; a=rsa-sha256; q=dns/txt; c=relaxed/relaxed; d=w3.org; s=s1; h=Content-Type:To:Subject:Message-ID:Date:From:MIME-Version:Cc:Reply-To :In-Reply-To:References; bh=2EguLtW8RH4fmpHdd5CNpo00Gkf7fKkdIb038w1Bqfw=; t=1708481342; x=1709345342; b=Y4LjxLfCOBeY8aForGoZiE9j0YcGBR/oXVWTldzYi2gzX02 Kq8GY+GsCgEMfk13wwZib+iwxCDmhnUN/JpUalzmGkfVBbnF44qubUYneso55Cy2JbQZFwV2FS29f JZpPG7s0fYt/j9vbsF1TFpyERBecoFpydw/ETsMRzM0t9cxpNlwM9LTjkaTa6uTEZPxkBowY/hfR4 R/PDklpv/Ho4IkHpH15/keRpSQz1/4AOXyHELMJdP4U7TkRzpjs6lirqDjrspLmArTsAfzmlc7aHY 5TEC8nsC6LDP2qkde8PUTjPprrB6mF3bipSdDtUDxR3TvPhcoCXXxH4shRkqyrtw==;
Received-SPF: pass (pan.w3.org: domain of chromium.org designates 2a00:1450:4864:20::633 as permitted sender) client-ip=2a00:1450:4864:20::633; envelope-from=jbroman@chromium.org; helo=mail-ej1-x633.google.com;
Received: from mail-ej1-x633.google.com ([2a00:1450:4864:20::633]) by pan.w3.org with esmtps (TLS1.3) tls TLS_ECDHE_RSA_WITH_AES_128_GCM_SHA256 (Exim 4.96) (envelope-from <jbroman@chromium.org>) id 1rcc2f-002PuL-1G for ietf-http-wg@w3.org; Wed, 21 Feb 2024 02:09:02 +0000
Received: by mail-ej1-x633.google.com with SMTP id a640c23a62f3a-a3ddc13bbb3so866219866b.0 for <ietf-http-wg@w3.org>; Tue, 20 Feb 2024 18:09:01 -0800 (PST)
DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=chromium.org; s=google; t=1708481337; x=1709086137; darn=w3.org; h=to:subject:message-id:date:from:mime-version:from:to:cc:subject :date:message-id:reply-to; bh=2EguLtW8RH4fmpHdd5CNpo00Gkf7fKkdIb038w1Bqfw=; b=RoknxseN/hwoL/khDmaZDwPmYBdqdEh7A93CHydmSWlrhznMJ4svGUp7aJe5CxaoDI 1ZygxSf1YmIckSy6mGtC83/TKM9R3tnGYv31j7BikoDJKspAv54+4jIThO5pZZjwv07Q rPOyrknlybQ6poSbwakmedDpIZ9542/yxXzYU=
X-Google-DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=1e100.net; s=20230601; t=1708481337; x=1709086137; h=to:subject:message-id:date:from:mime-version:x-gm-message-state :from:to:cc:subject:date:message-id:reply-to; bh=2EguLtW8RH4fmpHdd5CNpo00Gkf7fKkdIb038w1Bqfw=; b=extw9GBg9XqMPO8DBap5Pp1cs0yNXt6FrNIC2k4ujNvaPlHsXHxd54jx72fPdu4CGq SgUXZA6aI7U5o7ZUF/3vKc4LV5Fltap2pZLMPlh7EhBor07tbHDwl0LOT1cLAConZ03C tmBTaOgUFoWDymPfpt0CIBvQyQEf6esCqn4KpLUe9R5TFUhShLwC1bkvcYwFbJjD2KBH JaaDz70VTl7WiUIE720kmGk8WIb8knuKnUqssrxnVWPkEj2d1gN0/mdwZAtMbe22StLb BdWX9YZSHcAVQy7hEGwy0sOrs92xxKOFZwfCFbqM8/Zem+KBxpJXVeroPtFAA3Vr3f+x Ddjw==
X-Gm-Message-State: AOJu0Yz4/uk4oLd36rIvvy7IIYgTc5jFySg/7rns3o86miygNLhFm4+n Lngdx6CQ9swoiXUeC9gbw3QQI5npdD1Z02BEpLFKknuLFczA7qFyOC6zLiYh2HIPz/OIjxZHXx9 o0AAKbO/G5pw29OzPlii70KnnC9ULmvkcGIdBQ2TjLFEeJ+eccw==
X-Google-Smtp-Source: AGHT+IE/NdT8aZYT/o/bBm4uFVtZgeJbnalpYdoZ5gMQlmdLffQuHPuvUXbfxyQr9zTy/rsUIWckj00VMp2Te9r1KWE=
X-Received: by 2002:a17:906:70c:b0:a3e:a83f:e03d with SMTP id y12-20020a170906070c00b00a3ea83fe03dmr6830720ejb.14.1708481337203; Tue, 20 Feb 2024 18:08:57 -0800 (PST)
MIME-Version: 1.0
From: Jeremy Roman <jbroman@chromium.org>
Date: Tue, 20 Feb 2024 21:08:46 -0500
Message-ID: <CACuR13cnHHoRv_Z-HtJeOyJqZb7AVU-_udQ=R_x9qQ1_JeP=KQ@mail.gmail.com>
To: ietf-http-wg@w3.org
Content-Type: multipart/alternative; boundary="00000000000035ac1c0611dacf22"
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.2
X-W3C-Hub-Spam-Report: BAYES_00=-1.9, DKIMWL_WL_HIGH=-0.05, 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, T_SCC_BODY_TEXT_LINE=-0.01, URIBL_DBL_BLOCKED_OPENDNS=0.001, W3C_AA=-1, W3C_WL=-1
X-W3C-Scan-Sig: pan.w3.org 1rcc2f-002PuL-1G 774f6ab6b32f3d7241a06f5eb7ee5bed
X-Original-To: ietf-http-wg@w3.org
Subject: No-Vary-Search
Archived-At: <https://www.w3.org/mid/CACuR13cnHHoRv_Z-HtJeOyJqZb7AVU-_udQ=R_x9qQ1_JeP=KQ@mail.gmail.com>
Resent-From: ietf-http-wg@w3.org
X-Mailing-List: <ietf-http-wg@w3.org> archive/latest/51811
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>

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.