Re: Working Group Last Call: Compression Dictionary Transport
Yoav Weiss <yoav.weiss@shopify.com> Thu, 13 June 2024 05:37 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 82EC4C16940C for <ietfarch-httpbisa-archive-bis2Juki@ietfa.amsl.com>; Wed, 12 Jun 2024 22:37:27 -0700 (PDT)
X-Virus-Scanned: amavisd-new at amsl.com
X-Spam-Flag: NO
X-Spam-Score: -7.857
X-Spam-Level:
X-Spam-Status: No, score=-7.857 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, RCVD_IN_DNSWL_HI=-5, 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="chkqIevg"; dkim=pass (2048-bit key) header.d=w3.org header.b="dRzQ6HS9"; dkim=pass (1024-bit key) header.d=shopify.com header.b="P41/IaLj"
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 dPSDmdWAPoJS for <ietfarch-httpbisa-archive-bis2Juki@ietfa.amsl.com>; Wed, 12 Jun 2024 22:37:23 -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 9A964C169400 for <httpbisa-archive-bis2Juki@ietf.org>; Wed, 12 Jun 2024 22:37:23 -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=wHpZCdevy14bbeN/H8aorEdBIA4cOpZ2zOWFXl+W96A=; b=chkqIevgrtIdUTqDUlw/Vo7qba fvxlfyhk7VRqunL4jcK3bUMX5Bg5t85IjeE0/S9osdj7yJSviLn627kh8JH5T3RCFuEQpHRYcNylW +ex4DOw4xcrCPlHTF1TN1p1EZDxnbrxXz1aqNPKkncFbZ5gcU00Hu+IbfiGli9YGL9GMBAQSfBvKb bMP1ZffWLB138jo40HGdRl3FnWYQ0FnDRipkywvMfZtzkg2TGqSCy1hSGn/cwjguwnH5vWE1deRdb txAbIpCLNmq9MTGTT4mmzVkKuVBo+B16eHarc8EX6VxFrIxSelAf8Ggq3QyH9JUXNooVcJlfwfCwj WBX3XJtA==;
Received: from lists by mab.w3.org with local (Exim 4.96) (envelope-from <ietf-http-wg-request@listhub.w3.org>) id 1sHd8X-001K9L-1k for ietf-http-wg-dist@listhub.w3.org; Thu, 13 Jun 2024 05:36:37 +0000
Resent-Date: Thu, 13 Jun 2024 05:36:37 +0000
Resent-Message-Id: <E1sHd8X-001K9L-1k@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 <yoav.weiss@shopify.com>) id 1sHd8W-001K8X-04 for ietf-http-wg@listhub.w3.internal; Thu, 13 Jun 2024 05:36:36 +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=wHpZCdevy14bbeN/H8aorEdBIA4cOpZ2zOWFXl+W96A=; t=1718256996; x=1719120996; b=dRzQ6HS9Pv66qywzlyY4zeM3ctArejcJn62nSe+VUqzirBg7407k/AlZKhto3VpfRu2B59tNiGN rbg/PmVIDlAsaH6eKDcm1Eym9V+nFtL3HCKwUBdGIboZNedaEH2KOo/rYR25HmfBfr5zbWsGGE90U Yhg7TelB64gTwduAImg2njaSLbglfxn923DvGgRl2MzLjLicFq2KrN64DRn01D1Etjy9MQhUULyAu VmPL/t/TgQEgg0ZvHbRxCYS/9yNK5QqnxTzCLxLFiSLYVJQcpgAkcYBtBtMfXqzYT2sWxMsRgPygJ KH5khQaskGZAJuIKEax6DPEk4qU5CVWaFCAg==;
Received-SPF: pass (puck.w3.org: domain of shopify.com designates 2a00:1450:4864:20::12b as permitted sender) client-ip=2a00:1450:4864:20::12b; envelope-from=yoav.weiss@shopify.com; helo=mail-lf1-x12b.google.com;
Received: from mail-lf1-x12b.google.com ([2a00:1450:4864:20::12b]) by puck.w3.org with esmtps (TLS1.3) tls TLS_ECDHE_RSA_WITH_AES_128_GCM_SHA256 (Exim 4.96) (envelope-from <yoav.weiss@shopify.com>) id 1sHd8V-0074AT-1V for ietf-http-wg@w3.org; Thu, 13 Jun 2024 05:36:35 +0000
Received: by mail-lf1-x12b.google.com with SMTP id 2adb3069b0e04-52bc121fb1eso865201e87.1 for <ietf-http-wg@w3.org>; Wed, 12 Jun 2024 22:36:35 -0700 (PDT)
DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=shopify.com; s=google; t=1718256991; x=1718861791; 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=wHpZCdevy14bbeN/H8aorEdBIA4cOpZ2zOWFXl+W96A=; b=P41/IaLjvbMOoGpkG7Vaj0EajW91lyxAcZeRIUNE40V0zravVmS/P3PEcrukCSg1up TBy74zAM+1LxzTQ0gONDcY8/xf6ySxVJDMyTso6in6I9AmF4jjR6K0lZytPD7Cm1mS2g 8Dy86PudZL8gvC2zqRT8B7hqFaJf1dtizQ1VE=
X-Google-DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=1e100.net; s=20230601; t=1718256991; x=1718861791; 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=wHpZCdevy14bbeN/H8aorEdBIA4cOpZ2zOWFXl+W96A=; b=oEc+w/HQaYqt9Ms9biHOXWMZAXvjnVmzvXCxW3lBl6CME5nCK+z3NCvhN/YKbV2T48 HXD+AdnKoljSbezeYO07sxKA02A9S9QelpCVHMLE5Idyzsq7YHFrpvIwPRO94Ss5CHyZ 9u7ifQTuheCuiI3r16uzR8TzAFTYoKp1Knzv03wlSQPbWfCvr8mWzvydb2kjDMhqAajw 24md8a5aBgDVbWInvU61qCxaKoHb2yCDxurmiCFGWEDzLNC5XZ030PYjFva0poVaEHGu L9EqD4MBF3R0KZekvx1bkH13VRA2+IT8tFyY4l/8d30pY69q9PcguEnAZ35f4nExZ0Vs HHyw==
X-Gm-Message-State: AOJu0YyHiCJbu1ijhmYD7GrXPamumuwOFBfEsVaBVLQqieSlSoutLOrw lFxBeqAU005HYI6UEypMEvCiciB10kvc0B1aNOve8aAFkFXbDv6Gv7gD9AZt5vhKYjzcUrfJKqg EDFOTb+WxJKLJHIzF4oCOTKxBf5stUJeRhbx48e9vstMQGqL2
X-Google-Smtp-Source: AGHT+IEa/AdMDfwDjkF5hufeN4wOg/D+VObXIhaCZTs5bHQ/XDVIBqlCB/o52qVVKhRs1GzW6wy2FQD3hjldPgddhSY=
X-Received: by 2002:a05:6512:2153:b0:52c:81d5:cf96 with SMTP id 2adb3069b0e04-52c9a3c906cmr1899191e87.28.1718256991176; Wed, 12 Jun 2024 22:36:31 -0700 (PDT)
MIME-Version: 1.0
References: <6871AEAA-DC4D-408D-915A-22BF9627B5FC@mnot.net> <aabfd879-2a0a-488e-9ee1-4f49eaf6c2a6@betaapp.fastmail.com> <CALYmMaebQOuDZHYgvCm799AbLPQfj+fxNQTsj_bKCMJU-076BQ@mail.gmail.com> <a328fabb-7f36-4fd1-905f-6308adfcf7a9@betaapp.fastmail.com>
In-Reply-To: <a328fabb-7f36-4fd1-905f-6308adfcf7a9@betaapp.fastmail.com>
From: Yoav Weiss <yoav.weiss@shopify.com>
Date: Thu, 13 Jun 2024 07:36:20 +0200
Message-ID: <CALYmMae2T1ip6Sh8Ei_DZjuN+REFd=wid2mfB4gTOrJXttniTw@mail.gmail.com>
To: Martin Thomson <mt@lowentropy.net>
Cc: ietf-http-wg@w3.org
Content-Type: multipart/alternative; boundary="00000000000097ad1c061abee1c0"
X-W3C-Hub-DKIM-Status: validation passed: (address=yoav.weiss@shopify.com domain=shopify.com), signature is good
X-W3C-Hub-Spam-Status: No, score=-9.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_DB=-1, W3C_IRA=-1, W3C_IRR=-3, W3C_WL=-1
X-W3C-Scan-Sig: puck.w3.org 1sHd8V-0074AT-1V 4eecb2ce316af9bd2afef830a329d01e
X-Original-To: ietf-http-wg@w3.org
Subject: Re: Working Group Last Call: Compression Dictionary Transport
Archived-At: <https://www.w3.org/mid/CALYmMae2T1ip6Sh8Ei_DZjuN+REFd=wid2mfB4gTOrJXttniTw@mail.gmail.com>
Resent-From: ietf-http-wg@w3.org
X-Mailing-List: <ietf-http-wg@w3.org> archive/latest/52008
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>
On Thu, Jun 13, 2024 at 7:15 AM Martin Thomson <mt@lowentropy.net> wrote: > On Thu, Jun 13, 2024, at 14:16, Yoav Weiss wrote: > > Can you expand on that uncertainty? I don't think I get your concern. > > It might be nothing, but we haven't had enough time to implement and find > out. Consider that you have a bunch of resources in cache for a > site/origin/whatever. Some of them have Use-As-Dictionary attached. When > you fetch, the dumb implementation strategy here is to iterate your entire > cache to find applicable Use-As-Dictionary matches, which requires a bunch > of URL pattern tests. That will be inefficient. > Yeah, I don't think this is the way to go. The way I imagined deployments to happen for static assets is: * Diffs are generated at build time (potentially asynchronously), compared to the past N versions of that same resource * The server that gets a Use-As-Dictionary header in a request can immediately translate that to a filename of the relevant diff on disk * If that diff exists, it responds with that. Otherwise, it responds with the original URL. * Vary headers (or custom CDN ones) ensure that intermediate caches distinguish the two. > Now, obviously, that inefficiency isn't what you would ship, but we > haven't done the work to find an implementation strategy. Given that we > essentially only have one implementation of this right now in Chrome, it's > not clear that their strategy will translate to other implementations > (those in CDNs as well as browsers). > > We've been burned by this sort of performance optimization feature in the > past. Claims did not bear out when deployed more widely. I've learned to > be very skeptical of claims coming from a single implementation. > > All of which is to say, I think this needs time as an experiment. > I'll let Pat chime in with his thoughts, as I don't have strong opinions on that particular front.
- Re: Working Group Last Call: Compression Dictiona… Mark Nottingham
- Re: Working Group Last Call: Compression Dictiona… Yoav Weiss
- Working Group Last Call: Compression Dictionary T… Mark Nottingham
- Re: Working Group Last Call: Compression Dictiona… Martin Thomson
- Re: Working Group Last Call: Compression Dictiona… Martin Thomson
- Re: Working Group Last Call: Compression Dictiona… Yoav Weiss
- Re: Working Group Last Call: Compression Dictiona… Martin Thomson
- Re: Working Group Last Call: Compression Dictiona… Patrick Meenan
- RE: Working Group Last Call: Compression Dictiona… Mike Bishop
- Re: Working Group Last Call: Compression Dictiona… W. Felix Handte
- Re: Working Group Last Call: Compression Dictiona… Watson Ladd
- Re: Working Group Last Call: Compression Dictiona… Patrick Meenan
- Re: Working Group Last Call: Compression Dictiona… Patrick Meenan
- Re: Working Group Last Call: Compression Dictiona… Patrick Meenan
- Re: Working Group Last Call: Compression Dictiona… Yoav Weiss