Re: Cache varying on particular cookies
Mark Nottingham <mnot@mnot.net> Thu, 14 March 2024 03:13 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 09FE8C15155A for <ietfarch-httpbisa-archive-bis2Juki@ietfa.amsl.com>; Wed, 13 Mar 2024 20:13:54 -0700 (PDT)
X-Virus-Scanned: amavisd-new at amsl.com
X-Spam-Flag: NO
X-Spam-Score: -2.856
X-Spam-Level:
X-Spam-Status: No, score=-2.856 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.249, MAILING_LIST_MULTI=-1, RCVD_IN_MSPIKE_H4=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="qgv7oFaN"; dkim=pass (2048-bit key) header.d=w3.org header.b="DHQhtkcF"; dkim=pass (2048-bit key) header.d=mnot.net header.b="Nkj50Y3j"; dkim=pass (2048-bit key) header.d=messagingengine.com header.b="TnpUHsEx"
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 50sVuNfYbX6M for <ietfarch-httpbisa-archive-bis2Juki@ietfa.amsl.com>; Wed, 13 Mar 2024 20:13:49 -0700 (PDT)
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 9134EC14F701 for <httpbisa-archive-bis2Juki@ietf.org>; Wed, 13 Mar 2024 20:13:49 -0700 (PDT)
DKIM-Signature: v=1; a=rsa-sha256; q=dns/txt; c=relaxed/relaxed; d=w3.org; s=s1; h=Subject:To:References:Message-Id:Cc:Date:In-Reply-To:From: Mime-Version:Content-Type:Reply-To; bh=gI+aw6yXh/A+X8oXyNtUI2FcABye+SLtYK4oGE4Hr3g=; b=qgv7oFaN3T1SyZ8l7yB4ufVTDM WOz9TUeQilPFwZskDOyB3JG2h0Wk+MR2lyJYv8POaKoX+fqja+HMS4D/93teHLPUU5ALYuBv1Kyk6 0kOZYXh/whmbP2i1Hdp/rTyqVhkfLIbmO+MTD3uif6g6/5554vCU1/1QMdn1nrFFcvMBYhFojzqjv +TD0sOje7GTxIOP7tpc9ipF9DKlSQFWw1ymC4ZH5ZjQ6qC6dOhTZi57UgrjBVOmQfV51/YftR/xOU /fk8+cGKOLRqDLmrbZl8dmCrKdQDn4EGIqGcfQnUldE7RFYJ+htpcCcQgLGS+2mOq8XqqUlZGyBKb 50RQBy1A==;
Received: from lists by lyra.w3.org with local (Exim 4.94.2) (envelope-from <ietf-http-wg-request@listhub.w3.org>) id 1rkbVO-006ft2-Ip for ietf-http-wg-dist@listhub.w3.org; Thu, 14 Mar 2024 03:11:42 +0000
Resent-Date: Thu, 14 Mar 2024 03:11:42 +0000
Resent-Message-Id: <E1rkbVO-006ft2-Ip@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 <mnot@mnot.net>) id 1rkbVM-006frw-Sk for ietf-http-wg@listhub.w3.org; Thu, 14 Mar 2024 03:11:40 +0000
DKIM-Signature: v=1; a=rsa-sha256; q=dns/txt; c=relaxed/relaxed; d=w3.org; s=s1; h=To:References:Message-Id:Cc:Date:In-Reply-To:From:Subject: Mime-Version:Content-Type:Reply-To; bh=gI+aw6yXh/A+X8oXyNtUI2FcABye+SLtYK4oGE4Hr3g=; t=1710385900; x=1711249900; b=DHQhtkcFYgJZOqpvqHYFG1hddTsqhEWwTEANsF0iZpeCN04e7Rc9hAT+KK7RB9yvhZJK3jvjJes dDOD/jamk13m478JFA594L2maSwv+4xrWpaQ6qoHoDOio9IfeMGgChN+QQpgBh3psPx2CDeOAgjQ3 4FLP+QaHxgqrsCenvTKEtNLge5+jyEEGw1v+BZWHTsnYHX3dJeUhvRLvzWV5cpPOGb95TNWJd74/U OL13YM8SACzt5bdfTfQg8ZDDCY3nElZ9RrORl+tYh20+sfG4iDsGqf8pXqFJs6PssKHADRB/7ScBy kXFpKEpQBA4cuoQRSpw14vQu6acwhN9+5qYQ==;
Received-SPF: pass (pan.w3.org: domain of mnot.net designates 64.147.123.144 as permitted sender) client-ip=64.147.123.144; envelope-from=mnot@mnot.net; helo=wfout1-smtp.messagingengine.com;
Received: from wfout1-smtp.messagingengine.com ([64.147.123.144]) by pan.w3.org with esmtps (TLS1.3) tls TLS_ECDHE_RSA_WITH_AES_256_GCM_SHA384 (Exim 4.96) (envelope-from <mnot@mnot.net>) id 1rkbVM-00B3ir-09 for ietf-http-wg@w3.org; Thu, 14 Mar 2024 03:11:40 +0000
Received: from compute6.internal (compute6.nyi.internal [10.202.2.47]) by mailfout.west.internal (Postfix) with ESMTP id 13CEA1C000B5; Wed, 13 Mar 2024 23:11:35 -0400 (EDT)
Received: from mailfrontend2 ([10.202.2.163]) by compute6.internal (MEProxy); Wed, 13 Mar 2024 23:11:36 -0400
DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=mnot.net; h=cc :cc:content-transfer-encoding:content-type:content-type:date :date:from:from:in-reply-to:in-reply-to:message-id:mime-version :references:reply-to:subject:subject:to:to; s=fm2; t=1710385895; x=1710472295; bh=gI+aw6yXh/A+X8oXyNtUI2FcABye+SLtYK4oGE4Hr3g=; b= Nkj50Y3jYf6ldtoFKDYqhl/YoIGLT3zHBgQyyidGfUQNFNf0f8vnx/hqzECt5/5x YmW/DJ7E2vUAUbN1CXHcz0KkT7JuYReeS5QhmkM7W07JtN0t8mfPodvqFS/zGPta g0QU9RFyD+wECXW1EbvRbhdnr+wILGnJNwOiv9PhOCKoYCNl6xROhMvAUZOT5DvV jauyRyI8Cs0cq37IeB1oiFZbe3QLh7b952eaekCdzOQIRMMpp7OuomvKvf208O1k kMtGEMvmnSZfvPnQ+SdDPYNrnlBeB4/gUxHC1HZfMSUMqzoMp57+eMaeWGT5BySu VhjO9h2Bfc4CIks0qqOGZA==
DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d= messagingengine.com; h=cc:cc:content-transfer-encoding :content-type:content-type:date:date:feedback-id:feedback-id :from:from:in-reply-to:in-reply-to:message-id:mime-version :references:reply-to:subject:subject:to:to:x-me-proxy:x-me-proxy :x-me-sender:x-me-sender:x-sasl-enc; s=fm1; t=1710385895; x= 1710472295; bh=gI+aw6yXh/A+X8oXyNtUI2FcABye+SLtYK4oGE4Hr3g=; b=T npUHsEx2iBznRH37zs/+1wWhBDQOdWzJZzHpIC965C3P6Y2iLGj3m7LO08UtptX+ 1vuiACHW3S1J/3ugP/ylZQSAsm39Wv6EKTZgGF9SXqWdczSKEYzKbIqzMM3kiYJk XYfAIp85oDpzsVp+WWqZryskB0SOn82jMPFAadDKrZHUDVnA/aTqPz6RIDGZmnKc uyUFDw4GDtZ9kvo47FyKsM/qB6U2RzRQnm/ZRZmStJtj70otF8V1Kpj2lOSrVPge fg/cMqi4IGvrvXIhIUL11UUoTV6Vw6MEnVLG2Yjx0yFCFud8GxyCAnaOfh6L1HCV L3hdJfa/rSe2/6grEW2sA==
X-ME-Sender: <xms:52ryZSdlFzfQ8oFwiQ0ObDVkEfIUgkCSZXH04F3ERCmt4qzwc2kbmQ> <xme:52ryZcM3wdOwwM_FozsJoU2S1OxcGJ0gGiPuPZ2PKAW2Qw8Qg4jKKTGnV0Zo8nzw_ aef5rUvtZN3vfE1XQ>
X-ME-Received: <xmr:52ryZThIgjpm61vjBdx0Qul_hpfw4aBh1RX6xZBJOpBipuBVspPQGnRByNem-1WLT-9BaY1Qga1R6wyrAkswQCb8iNVtAdTVPz1DlGxg1I4-pl1QO-Ows0Rk>
X-ME-Proxy-Cause: gggruggvucftvghtrhhoucdtuddrgedvledrjeeigdehvdcutefuodetggdotefrodftvf curfhrohhfihhlvgemucfhrghsthforghilhdpqfgfvfdpuffrtefokffrpgfnqfghnecu uegrihhlohhuthemuceftddtnecusecvtfgvtghiphhivghnthhsucdlqddutddtmdenuc fjughrpegtggfuhfgjffevgffkfhfvofesthhqmhdthhdtvdenucfhrhhomhepofgrrhhk ucfpohhtthhinhhghhgrmhcuoehmnhhothesmhhnohhtrdhnvghtqeenucggtffrrghtth gvrhhnpedttdeggfeuvedtudfgtdekffdugeevteffgeejlefhvdetvdeujeetgeeugeet teenucffohhmrghinhepmhhnohhtrdhnvghtnecuvehluhhsthgvrhfuihiivgeptdenuc frrghrrghmpehmrghilhhfrhhomhepmhhnohhtsehmnhhothdrnhgvth
X-ME-Proxy: <xmx:52ryZf973l4A5xCfxTwN59F03Lf7b0d9aKilpiW3jbJhVcjAg0FvOQ> <xmx:52ryZeupefVhlUeNjZ8iPZgC5jPkhX6AG5w-4x1eHV2rHz8vCYldrg> <xmx:52ryZWEXAcOl60rso4lmXmnrtIperNt3kPP0c3TcS0Z5oBclSBD3jQ> <xmx:52ryZdOrgSAxACdMWNHBTRqYISDc64PvEiLWbfwffZOp1fXIuGq9Vw> <xmx:52ryZSKoVlYNW739_47bxYw4hHL0Le_4c9KlB2wVLBBmxh3Xn8_W5ZXyVoA>
Feedback-ID: ie6694242:Fastmail
Received: by mail.messagingengine.com (Postfix) with ESMTPA; Wed, 13 Mar 2024 23:11:34 -0400 (EDT)
Content-Type: text/plain; charset="us-ascii"
Mime-Version: 1.0 (Mac OS X Mail 16.0 \(3774.500.171.1.1\))
From: Mark Nottingham <mnot@mnot.net>
In-Reply-To: <CACuR13fgnfN3ENOQxFWaJH0YiG1GoM4T722D6MHNjNWfKD8WEg@mail.gmail.com>
Date: Thu, 14 Mar 2024 14:11:33 +1100
Cc: ietf-http-wg@w3.org
Content-Transfer-Encoding: quoted-printable
Message-Id: <9730212B-8166-4A8C-BB79-77939B1E3DBB@mnot.net>
References: <CACuR13fgnfN3ENOQxFWaJH0YiG1GoM4T722D6MHNjNWfKD8WEg@mail.gmail.com>
To: Jeremy Roman <jbroman@chromium.org>
X-Mailer: Apple Mail (2.3774.500.171.1.1)
X-W3C-Hub-DKIM-Status: validation passed: (address=mnot@mnot.net domain=mnot.net), signature is good
X-W3C-Hub-DKIM-Status: validation passed: (address=mnot@mnot.net domain=messagingengine.com), signature is good
X-W3C-Hub-Spam-Status: No, score=-9.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, 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_DB=-1, W3C_IRA=-1, W3C_IRR=-3, W3C_WL=-1
X-W3C-Scan-Sig: pan.w3.org 1rkbVM-00B3ir-09 45f713b43ff628ea15e333fa5f7917c0
X-Original-To: ietf-http-wg@w3.org
Subject: Re: Cache varying on particular cookies
Archived-At: <https://www.w3.org/mid/9730212B-8166-4A8C-BB79-77939B1E3DBB@mnot.net>
Resent-From: ietf-http-wg@w3.org
X-Mailing-List: <ietf-http-wg@w3.org> archive/latest/51878
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>
Personally, I'm supportive, but that's probably not surprising :) > On 21 Feb 2024, at 13:08, Jeremy Roman <jbroman@chromium.org> wrote: > > Hello HTTPWG: > > I'm working on speculative loading in Google Chrome (most saliently, prefetch of documents for navigation) and looking at ways to address the potential problem of prefetched resources becoming "stale" by the time they are used due to the user logging in or out (or similar state changes), in response to developer feedback. Workarounds are possible but somewhat awkward. > > Fundamentally it seems like something less strict than "Vary: Cookie" is called for, which would let the client know which cookie values, if changed, invalidate the cached resource. The semantics of this seem potentially useful for other kinds of cache (e.g., some caching proxies can be configured to work this way), so HTTP WG seems like potentially the right venue to discuss this. > > Mark Nottingham's Cookie-Indices proposal (part of HTTP Availability Hints) seems likely to address the problem and ought to be implementable (I'm prototyping it in Chromium's prefetch cache, at least), so that's what I'm looking at right now, but at this moment we're not yet committed to a particular solution. > > What do you all think? -- Mark Nottingham https://www.mnot.net/
- Cache varying on particular cookies Jeremy Roman
- Re: Cache varying on particular cookies Mark Nottingham
- Re: Cache varying on particular cookies Robin Marx
- Re: Cache varying on particular cookies Mark Nottingham
- Re: Cache varying on particular cookies Jeremy Roman