Re: No-Vary-Search

Jeremy Roman <jbroman@chromium.org> Wed, 12 June 2024 17:24 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 C8CCAC151062 for <ietfarch-httpbisa-archive-bis2Juki@ietfa.amsl.com>; Wed, 12 Jun 2024 10:24:39 -0700 (PDT)
X-Virus-Scanned: amavisd-new at amsl.com
X-Spam-Flag: NO
X-Spam-Score: -2.858
X-Spam-Level:
X-Spam-Status: No, score=-2.858 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.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="EK9KxP1F"; dkim=pass (2048-bit key) header.d=w3.org header.b="PWJGORe6"; dkim=pass (1024-bit key) header.d=chromium.org header.b="XvBFJNCW"
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 tTuwGXQZHySz for <ietfarch-httpbisa-archive-bis2Juki@ietfa.amsl.com>; Wed, 12 Jun 2024 10:24:35 -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 88471C14F74A for <httpbisa-archive-bis2Juki@ietf.org>; Wed, 12 Jun 2024 10:24:35 -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=J0g1BRk1ZwZLl04cEie7/mfyIm+IKUC7WzHlviLtBNo=; b=EK9KxP1Fke4R0naI5ibHh3La97 ikn+R/MjoUWp3nEPwG1+94qXaphQ6CFHYMBkotb3H+0EXFzlUMsrW919sMGlCdWDAKAeYuTGPReWx bNUMMJ56sbgoDFK4BAN1rgHh/0nymhvBY5kQ6fr/y4zIgniH1gCfXzLZtLahxPzdRtJTfFQ/6sCSu 4zCyI8GE+dlHoxz4D8t5ntxbPuBWAbG2A/iA/n4bsrB0bXiL6FAl7tW751/WT2jsynj8Wa2x4KvLo OHvTScjxeHcJL7qE0rN4H4HFs9eli9YJ+rqouxWN3tJklooNvTdJ1vWu2gqb2pEG35mnFBkprcyBD 9mcm3G4g==;
Received: from lists by mab.w3.org with local (Exim 4.96) (envelope-from <ietf-http-wg-request@listhub.w3.org>) id 1sHRhE-00HOD2-2d for ietf-http-wg-dist@listhub.w3.org; Wed, 12 Jun 2024 17:23:40 +0000
Resent-Date: Wed, 12 Jun 2024 17:23:40 +0000
Resent-Message-Id: <E1sHRhE-00HOD2-2d@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 <jbroman@chromium.org>) id 1sHRhD-00HOC2-1P for ietf-http-wg@listhub.w3.internal; Wed, 12 Jun 2024 17:23:39 +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=J0g1BRk1ZwZLl04cEie7/mfyIm+IKUC7WzHlviLtBNo=; t=1718213019; x=1719077019; b=PWJGORe6Nut7G0Qfcj5Qcv7i+MSPWc/u+gSJJSJlG0W5iWrfacp1z2C3YdW4K0goODl4N220nwt 1bxQZv5er1TKP5tDCStw10hTYbyJiovbpo0OQaDFQdBgAbtkSFjbFfGwPe37YLvfSTXcdJMT75jPP oRw3ulVdBJUcjAql7Q6rX7OmO8j/ktP6VuabrPMoR7acTmV+0F5KgxAG3sXHEIt27a6yaTsErH58q q0zSeZaAhunQ0CrEGSQGvC/CE/QfjK6I/pbFaPvfBHBspj5VCTxF4DX/ot28sguFUUMAJL7ztCMgB H3tnxrMjKJGai5lxYYj8nvIwd7evEuBID2Fw==;
Received-SPF: pass (pan.w3.org: domain of chromium.org designates 2a00:1450:4864:20::133 as permitted sender) client-ip=2a00:1450:4864:20::133; envelope-from=jbroman@chromium.org; helo=mail-lf1-x133.google.com;
Received: from mail-lf1-x133.google.com ([2a00:1450:4864:20::133]) 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 1sHRhC-00EIGX-1z for ietf-http-wg@w3.org; Wed, 12 Jun 2024 17:23:39 +0000
Received: by mail-lf1-x133.google.com with SMTP id 2adb3069b0e04-52c8c0d73d3so191491e87.1 for <ietf-http-wg@w3.org>; Wed, 12 Jun 2024 10:23:38 -0700 (PDT)
DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=chromium.org; s=google; t=1718213014; x=1718817814; 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=J0g1BRk1ZwZLl04cEie7/mfyIm+IKUC7WzHlviLtBNo=; b=XvBFJNCW+m3ihXHPiegHgxJ5WJxsGfgxsLUw0mvZR54FY4/SFBCcWX/m730XNhD8Xg O836HiXfHLY9OGcS+WAqIiQMR1IloQ8cqtTXsrG7k+Mecv7MEfyekFO/o289rvZByNKP HiINJLvu0rwY4HW0F4bkCjCvh1dS2eF92KB+Y=
X-Google-DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=1e100.net; s=20230601; t=1718213014; x=1718817814; 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=J0g1BRk1ZwZLl04cEie7/mfyIm+IKUC7WzHlviLtBNo=; b=gqGbhG76qh39LDdb/MJ5M6horaTUDFDFo6kRXHIiUfnVqP7/r1igVPBonneydSPoYH jnjITy9JGJxrqy489YpcZxre5IUU6HEPx4KyjY0kuMmZ+EIAbGarVtBAOVxwLNu75Dzw CMq8FoPGnXPfmVPyv8lgLlaWFJdgwtgqCo22f82YmNCrum2dYRCO6YDTYY9saXuev3op cFKYLWXgqzjwJYpBnEmCwwZkFHgp1UsPkHXaa0jZF/fhCAk8kB7d+byQbYYlD64fssgM /8xmE9UZmkvn6pDpZcansOOXo66kCMkt4rWWNboPsVUOmzso1dfuZ1vq5bSDYJ5zkDqo qwsg==
X-Gm-Message-State: AOJu0Yyl0Eh/T15jWAs12tnIjww/0hjvUc9h/On9r5BK3jITGYVCeiSt H2d1K8QAbAkHk7Bplfo94gCRLx/02MPl3TJYws145wUefRcm+Fv7dydGGxYd+zhaFR8IAbmEOiL dNtHX6aLk3bh0NkL1g/vT0p8iYSRk0sELZywwiurNSZ/8qVpTjg==
X-Google-Smtp-Source: AGHT+IFSbdowW5qxvGvWqQWQrrVlpax5svj2jKLOacVv7LXtXfLiW4pgYVp4HQ7rgI4Xk/a71xCVDuu5P+x2otOLV2A=
X-Received: by 2002:a05:6512:318c:b0:52b:c0b1:ab9e with SMTP id 2adb3069b0e04-52c9a3be74bmr1601166e87.5.1718213014077; Wed, 12 Jun 2024 10:23:34 -0700 (PDT)
MIME-Version: 1.0
References: <CACuR13cnHHoRv_Z-HtJeOyJqZb7AVU-_udQ=R_x9qQ1_JeP=KQ@mail.gmail.com> <EA99B248-7BD2-489F-8D86-8EE95D81F661@mnot.net> <CACuR13fHj9_rryosf4T6Z5JJ7JufjzCRrvR_O2_ch9iCk6N3wA@mail.gmail.com> <2C13B3A8-A92A-40B4-BE62-691C7D75DBE9@mnot.net>
In-Reply-To: <2C13B3A8-A92A-40B4-BE62-691C7D75DBE9@mnot.net>
From: Jeremy Roman <jbroman@chromium.org>
Date: Wed, 12 Jun 2024 13:23:23 -0400
Message-ID: <CACuR13fozvsaugCiNM9Ppo1NH_tQ4MdnYfaX2nuHVhq-cVt65Q@mail.gmail.com>
To: Mark Nottingham <mnot@mnot.net>
Cc: ietf-http-wg@w3.org
Content-Type: multipart/alternative; boundary="0000000000005a5d13061ab4a4ab"
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.143, 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 1sHRhC-00EIGX-1z 6a81db0202c852d96154c7d426754c8f
X-Original-To: ietf-http-wg@w3.org
Subject: Re: No-Vary-Search
Archived-At: <https://www.w3.org/mid/CACuR13fozvsaugCiNM9Ppo1NH_tQ4MdnYfaX2nuHVhq-cVt65Q@mail.gmail.com>
Resent-From: ietf-http-wg@w3.org
X-Mailing-List: <ietf-http-wg@w3.org> archive/latest/51995
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>

In the interest of continuing discussion on this list, the WICG draft has
been reformatted in RFC format and reported to the Datatracker:

https://datatracker.ietf.org/doc/draft-wicg-http-no-vary-search/01/
or directly on GitHub
https://jeremyroman.github.io/http-no-vary-search/draft-wicg-http-no-vary-search.html

The text has been left mostly unchanged so far (modulo very small editorial
changes), and does not yet reflect any change to RFC 9111 behavior (though
hopefully it's clear what those changes would be, from the existing text).

On Tue, Mar 19, 2024 at 2:26 AM Mark Nottingham <mnot@mnot.net> wrote:

> Hi Jeremy,
>
> > On 19 Mar 2024, at 11:44, Jeremy Roman <jbroman@chromium.org> wrote:
> >
> > Unfortunately it is not possible for me to join personally (time zones
> and personal complications). We might be able to brief a Chrome team member
> who is attending if there is interest (depending when this is), though as
> you point out it would necessarily be a fairly brief overview on short
> notice (so it might not be possible).
>
> It doesn't look likely that we'll have time for additional presentations.
> I'd suggest continuing the discussion on the list.
>
> Just for some context -- we found this kind of capability useful when I
> was at Yahoo! way back in 2010:
>   https://www.mnot.net/talks/pdf/Stupid_Web_Caching_Tricks.pdf#page=36
>
> Cloudflare supports configuration to ignore the whole query string, as
> well as specific arguments in it:
>   https://developers.cloudflare.com/cache/how-to/cache-keys/
>
> As does Fastly:
>   https://docs.fastly.com/en/guides/making-query-strings-agnostic
>
> https://www.fastly.com/documentation/solutions/examples/manipulate-query-string/
>
> As does Akamai (apparently, based upon the information available):
>
> https://community.akamai.com/customers/s/article/Remove-query-strings-from-forward-request-and-cache-key?language=en_US
>
> I know Varnish supports this as well; I've done it with Squid (using a
> helper) too. Not sure about eg nginx or Apache httpd.
>
> So I suspect it's safe to say there's interest in this general feature
> from people who use HTTP caches.
>
> The difference here is the control mechanism to invoke that behaviour --
> putting it in a response header is really nice because it's a)
> standardised, so (eventually) interoperable across implementations, and b)
> driven by the resource on the origin server, who has the most information
> about the URL's semantics (rather than relying on out-of-band
> configuration).
>
> However, when a cache has multiple stored responses and they have
> conflicting information about the cache key, we need to be careful about
> specifying the interaction. In a way, this is similar to Vary -- it faced a
> similar question, and the decisions made in its design made implementation
> difficult. We chose a different approach in Key and Variants to address
> that; we should probably have a similar discussion here.
>
> Cheers,
>
>
> --
> Mark Nottingham   https://www.mnot.net/
>
>