Re: No-Vary-Search

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

Received: by ietfa.amsl.com (Postfix) id 7BAE0C1840EC; Tue, 18 Jun 2024 15:50:16 -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 7B0E0C1840EB for <ietfarch-httpbisa-archive-bis2Juki@ietfa.amsl.com>; Tue, 18 Jun 2024 15:50:16 -0700 (PDT)
X-Virus-Scanned: amavisd-new at amsl.com
X-Spam-Flag: NO
X-Spam-Score: -2.859
X-Spam-Level:
X-Spam-Status: No, score=-2.859 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_ZEN_BLOCKED_OPENDNS=0.001, SPF_PASS=-0.001, T_SCC_BODY_TEXT_LINE=-0.01] autolearn=ham autolearn_force=no
Authentication-Results: ietfa.amsl.com (amavisd-new); dkim=pass (2048-bit key) header.d=w3.org header.b="Kt4KW4y/"; dkim=pass (2048-bit key) header.d=w3.org header.b="KzpWxiH1"; dkim=pass (2048-bit key) header.d=gmail.com header.b="APgoQkmE"
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 YkMqfXCEY4Qy for <ietfarch-httpbisa-archive-bis2Juki@ietfa.amsl.com>; Tue, 18 Jun 2024 15:50:16 -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 D9426C1840E6 for <httpbisa-archive-bis2Juki@ietf.org>; Tue, 18 Jun 2024 15:50:15 -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=M86Klw6CnXMS09SgpuFW1q3QAc8a855PLjSPCUj+U/U=; b=Kt4KW4y/tK9Ovck06qW2NScvnZ qyfZpAazcURrmI/We8GHvL+Do6h2pBl4JmqRXqdPQNzu9EBTccVZ/nvwLlCRGng1PzNbX0eQajHQ7 TRhdXnS4HrPUHTkM67LRI9w9o8/cqL1VfnqHNvPprzksEDjYC/1hKVc7nCHnYF8fr+d8NLG+zhfcI fHYEGHGSLJnaDIRH01ICG4RWx0oUuCldK7nGrKINvyD5knnMAAANaQEAxrgHa4WTX0rWaJy0zRZxo 2yFE+8u0LqxQSQB1ILGkWd3/Y9znyXYrjHdv5cDqPvYKMHkpewIiAEeMG3NAawOcryxZ3QYKC0J4+ 81bjhq+g==;
Received: from lists by mab.w3.org with local (Exim 4.96) (envelope-from <ietf-http-wg-request@listhub.w3.org>) id 1sJheI-00GqST-1I for ietf-http-wg-dist@listhub.w3.org; Tue, 18 Jun 2024 22:49:58 +0000
Resent-Date: Tue, 18 Jun 2024 22:49:58 +0000
Resent-Message-Id: <E1sJheI-00GqST-1I@mab.w3.org>
Received: from ip-10-0-0-144.ec2.internal ([10.0.0.144] helo=pan.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 1sJheF-00GqRT-1q for ietf-http-wg@listhub.w3.internal; Tue, 18 Jun 2024 22:49:55 +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=M86Klw6CnXMS09SgpuFW1q3QAc8a855PLjSPCUj+U/U=; t=1718750995; x=1719614995; b=KzpWxiH1RGAmpqu8ILu5i0TUQiOZOh3zZ0HElhh2ldgJTPp1UBF4LNRsopkWCXEchMwgloHgl9k hFp9UljnuKd9TKbNwjP/nEyO/Jv+BaDpwBefBplk/6K6xoKfYqThwFkuXZhS0pNs+joUriarEz8Eo 5KAmvjd3UKrMiFyOjdPlY9JgsLqzEwaKayTXE954Za8dJTT0kH++AIb1O8ZXPzaDOyMyUaPMIYWMb Ucn8hlA+ixAhj+eMY67ojo0wFJB+wx8DIK73rWs5xpZrvT4p7+ZUnodd0I2Du8MjFdxYrFon5Q2Lm SA87RjybL7ZU32OXVftVC6Pmc0Wr3rb06inA==;
Received-SPF: pass (pan.w3.org: domain of gmail.com designates 2a00:1450:4864:20::42b as permitted sender) client-ip=2a00:1450:4864:20::42b; envelope-from=roryhewitt@gmail.com; helo=mail-wr1-x42b.google.com;
Received: from mail-wr1-x42b.google.com ([2a00:1450:4864:20::42b]) by pan.w3.org with esmtps (TLS1.3) tls TLS_ECDHE_RSA_WITH_AES_128_GCM_SHA256 (Exim 4.96) (envelope-from <roryhewitt@gmail.com>) id 1sJheE-00GcFm-36 for ietf-http-wg@w3.org; Tue, 18 Jun 2024 22:49:55 +0000
Received: by mail-wr1-x42b.google.com with SMTP id ffacd0b85a97d-3621ac606e1so182396f8f.1 for <ietf-http-wg@w3.org>; Tue, 18 Jun 2024 15:49:54 -0700 (PDT)
DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=gmail.com; s=20230601; t=1718750991; x=1719355791; 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=M86Klw6CnXMS09SgpuFW1q3QAc8a855PLjSPCUj+U/U=; b=APgoQkmE25TLcgl1uFHiyJ5fwMpVjBX4toIgiqPmmDjybydV+hRJeshcIgJPq36ZZ8 oh/RQpLtILA8BjiUEmt8Sq3AStugi/EoOGUKI8JlSxy2+LiKWBxQh18D6pqHSYVpeT4y ZAlPUOM9WNbf7I7NGmUBTGPhwVEcVenj6e9kLLH+YeZgE2rq3MlrhOhjVLpwx9ezLXVC 5hmyQ1ekdhw7NOsKDon2YvWwWp1NKYqCZEIGlf7vNI0/jZ7JVXcWpNhYb+Je2Y7KO+k5 xPQWlFIXmFR+gvL/jXmcuvbp1uWt3AGf9H1xRZVZbDvvKp109gGpEijl9F1dM+Gq4Tec p4aQ==
X-Google-DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=1e100.net; s=20230601; t=1718750991; x=1719355791; 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=M86Klw6CnXMS09SgpuFW1q3QAc8a855PLjSPCUj+U/U=; b=TjA9KzHPCW0FbAZW38Jb3C3FYGubZaBU352aBTsHqy1BMBxohdZDp5HodvthAGrBo8 gqEfLQMBiIBCL7J7ZQ1tdNLL8Ylwo+bK1uLB1w7cGM9KgrpmJjtkruAn4pyiw2B7RAOC ZrWs5WTIGD0UqxEWQwVgr00d0knCr8uSGRGEpM8KVwHRTUZVogSH/27ktGDLvxN9St25 OgygxuSvLRfEY1YGpXBYM4W+deGzlQiurnB6cQxZqJQ+bNdvH7+qt6m7SaS1V1lO1QHh Cx68I+tegCNioWBtets8z3rxBTl6ErP7ZR+LKXu3GL8jRhYvcGR6VUIIjv5iN/Q7OmX4 ju+A==
X-Forwarded-Encrypted: i=1; AJvYcCUKlpt8zypl7UY3DU1fveLEgHaLPuEb3lMXF4VTSM9V4mH8S9ltUaJAQo29CoRAVTsyWfW45XAXcouA3EGwzrHWeQT1
X-Gm-Message-State: AOJu0YzR/g/wZNkT6akaB1wxuNqUtQpJopDm71YbsOKO8NIsfcYj9YvZ F/SQIJZYidLFr46a/gzTMdBryUOa6RHM5ui5dYrYqS+i51ZAt/rc2vaqVxFkEbz5+Wko1G6nRD/ OBm1BYMuT8jOoQKL7R/WFkDGsxcM=
X-Google-Smtp-Source: AGHT+IEpkXeRegGssCg3rJOsaYDKftleDBlwN56BsdVPtYriNwg8jukkUdkEYU/IZ5cx1vqG2MU3gPx5Km3nmfgwhT4=
X-Received: by 2002:adf:e0d0:0:b0:362:69b3:8e4d with SMTP id ffacd0b85a97d-36301358d26mr981081f8f.25.1718750990341; Tue, 18 Jun 2024 15:49:50 -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>
In-Reply-To: <CAEmMwDxN-SGQemcmTEoYS4YfVV23Q21c+Y_ePk4X7i4oTfn9hQ@mail.gmail.com>
From: Rory Hewitt <rory.hewitt@gmail.com>
Date: Tue, 18 Jun 2024 15:49:39 -0700
Message-ID: <CAEmMwDwwFxBOU5LN-j0MvVSMnm9k55+y625kJtkZFMaKf8quzw@mail.gmail.com>
To: David Benjamin <davidben@chromium.org>
Cc: Jeremy Roman <jbroman@chromium.org>, ietf-http-wg@w3.org
Content-Type: multipart/alternative; boundary="0000000000003c9cff061b31e6d0"
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, W3C_AA=-1, W3C_DB=-1, W3C_WL=-1
X-W3C-Scan-Sig: pan.w3.org 1sJheE-00GcFm-36 4c1bc2891c5a48038ad653146819b775
X-Original-To: ietf-http-wg@w3.org
Subject: Re: No-Vary-Search
Archived-At: <https://www.w3.org/mid/CAEmMwDwwFxBOU5LN-j0MvVSMnm9k55+y625kJtkZFMaKf8quzw@mail.gmail.com>
Resent-From: ietf-http-wg@w3.org
X-Mailing-List: <ietf-http-wg@w3.org> archive/latest/52031
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>

Hi David,

> 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.

Well the nice thing is that if you choose a generic name for the header
(i.e. not including 'search'), then even if it *initially* only applies to
query params, if at some point in the future we want to also allow it to
include other things (thumb-in-the-air example: shared caching across
subdomains like "www" and "api" and the TLD) then you don't need to create
an entirely new header - you just add new allowed values to this header.