Re: Submitted new I-D: Cache Digests for HTTP/2

Martin Thomson <martin.thomson@gmail.com> Fri, 15 January 2016 07:01 UTC

Return-Path: <ietf-http-wg-request+bounce-httpbisa-archive-bis2juki=lists.ie@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 (ietfa.amsl.com [127.0.0.1]) by ietfa.amsl.com (Postfix) with ESMTP id CFF2E1B2A7A for <ietfarch-httpbisa-archive-bis2Juki@ietfa.amsl.com>; Thu, 14 Jan 2016 23:01:40 -0800 (PST)
X-Virus-Scanned: amavisd-new at amsl.com
X-Spam-Flag: NO
X-Spam-Score: -7.003
X-Spam-Level:
X-Spam-Status: No, score=-7.003 tagged_above=-999 required=5 tests=[BAYES_00=-1.9, DKIM_SIGNED=0.1, DKIM_VALID=-0.1, DKIM_VALID_AU=-0.1, RCVD_IN_DNSWL_HI=-5, RP_MATCHES_RCVD=-0.001, SPF_HELO_PASS=-0.001, SPF_PASS=-0.001] autolearn=ham
Received: from mail.ietf.org ([4.31.198.44]) by localhost (ietfa.amsl.com [127.0.0.1]) (amavisd-new, port 10024) with ESMTP id OaDeYwb3D6XJ for <ietfarch-httpbisa-archive-bis2Juki@ietfa.amsl.com>; Thu, 14 Jan 2016 23:01:38 -0800 (PST)
Received: from frink.w3.org (frink.w3.org [128.30.52.56]) (using TLSv1.2 with cipher DHE-RSA-AES128-SHA (128/128 bits)) (No client certificate requested) by ietfa.amsl.com (Postfix) with ESMTPS id B26D61B2A75 for <httpbisa-archive-bis2Juki@lists.ietf.org>; Thu, 14 Jan 2016 23:01:38 -0800 (PST)
Received: from lists by frink.w3.org with local (Exim 4.80) (envelope-from <ietf-http-wg-request@listhub.w3.org>) id 1aJyKr-000515-RT for ietf-http-wg-dist@listhub.w3.org; Fri, 15 Jan 2016 06:58:13 +0000
Resent-Date: Fri, 15 Jan 2016 06:58:13 +0000
Resent-Message-Id: <E1aJyKr-000515-RT@frink.w3.org>
Received: from maggie.w3.org ([128.30.52.39]) by frink.w3.org with esmtps (TLS1.2:DHE_RSA_AES_128_CBC_SHA1:128) (Exim 4.80) (envelope-from <martin.thomson@gmail.com>) id 1aJyKn-00050B-Ni for ietf-http-wg@listhub.w3.org; Fri, 15 Jan 2016 06:58:09 +0000
Received: from mail-ig0-f169.google.com ([209.85.213.169]) by maggie.w3.org with esmtps (TLS1.2:RSA_ARCFOUR_SHA1:128) (Exim 4.80) (envelope-from <martin.thomson@gmail.com>) id 1aJyKl-0001ru-Ux for ietf-http-wg@w3.org; Fri, 15 Jan 2016 06:58:09 +0000
Received: by mail-ig0-f169.google.com with SMTP id mw1so5078067igb.1 for <ietf-http-wg@w3.org>; Thu, 14 Jan 2016 22:57:47 -0800 (PST)
DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=gmail.com; s=20120113; h=mime-version:in-reply-to:references:date:message-id:subject:from:to :cc:content-type; bh=RDkLLXIVFAgTpUhUtOsGlPE9ouWTX40flb2sot/sZxA=; b=A2867SLggi6isxd01qUkI7tuSw1KO999V3u+tfrggQ3g4WPVUucIoshRdzZZYVIUXf owU9Qs6RZ15ewWo3Cff0O8xjpCHPxWJMPHDnCygUIZHGDIwZPmp/YVRH844xv4ylkc6I HXOowdJkh3VgEKDxEPu4dSjbCBDD0Epi/+45DjNm+GfzH+TnaMhcOqJbKRcceN5OW+Ka 2AMKjWsZILD4tTgkTohA60lTs5YD+u0KsCpjr/hysBmg3vS1dnmbZQFyADBe4XSy3zaN CNL63YWs6CDt6qiE1zKSQo+UrNFf6GUoguP8dvcjelZz0uqaFYIRXtHqNx+qhLHXYPnp TpZQ==
X-Google-DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=1e100.net; s=20130820; h=x-gm-message-state:mime-version:in-reply-to:references:date :message-id:subject:from:to:cc:content-type; bh=RDkLLXIVFAgTpUhUtOsGlPE9ouWTX40flb2sot/sZxA=; b=UJ/mSPt0UXRZ+UoELxUnO/TRx/A18GEmVURx9+N3X32awmqATowB/Kt2IssPIu2ssG TwqfBZxA55TAfbu+sUdshtCujuXC2sLGSgY0g0b81p/qLSRVF+mrvZu+O2Q85vB7mQkm 5NedHPlbPY5QhIr8e/a/9ezV6XTKaJ2XryMitpDh6hYJ4Au5Bpts4rbWck1YOIVPUeWY mCUNMRME935dTH7GXGPBSazDzwvWXbbwKJVolgC9E3dvMBrRB/nj8dMTIPNbbea89EOl v5zU20QzV2DwKq39bUO9cDAXtobfAEY9VK9fYD/kCCP7DwVa4xs/tXzhOsCrnYyeGk8P VoRQ==
X-Gm-Message-State: AG10YOTyeFS9BbG7WRQhaUdKCsOZ+JIX7sAaJK7eMrZnv1LVIwPT5x4nPwo6MEN5X9iCGaos3xFW1iPsxJWH2w==
MIME-Version: 1.0
X-Received: by 10.50.20.73 with SMTP id l9mr1696255ige.58.1452841061907; Thu, 14 Jan 2016 22:57:41 -0800 (PST)
Received: by 10.36.149.130 with HTTP; Thu, 14 Jan 2016 22:57:41 -0800 (PST)
In-Reply-To: <CANatvzyPDKcuS3rnU9zYvRDXqmsRrqm=Y3+d3xS+a4e+MUZXuw@mail.gmail.com>
References: <CAAMqGzYUoCMxBxUEY9wfLOHZp7nrO4d1q5JZo=96pfEbVS1-ew@mail.gmail.com> <652C3E3A-3DA6-40BB-82FF-01A7D65FF65C@lukasa.co.uk> <CABCZv0piAoDnA1J+2pJ3HyF_iRwj9AaFGfonFjdKGfYr=cGZgQ@mail.gmail.com> <CAKRe7JG16u+MteBz4Rz7iCnHxfhLZ=QbWekrhgNhNkq+pKhVAg@mail.gmail.com> <CANatvzyT_ohm5hEcJ1o8B+AEa70607E-LUnPp5cD8sSO8X0HKA@mail.gmail.com> <56958980.1030307@treenet.co.nz> <CANatvzyOnMSLHfXcDrGSjbtZi5nFX2e9_4tHOjmR2OqBWEYUcg@mail.gmail.com> <EDB7D8A6-9121-4268-8920-223E9BE16B19@greenbytes.de> <CAKRe7JHh9maCnBgODU_rr5TFVmy3Tdm2bwEp2hHsONW8e_LTjw@mail.gmail.com> <CANatvzw6NpbpA_56GbSiCH2yEQoAuaGtXneOvrogBfucqrC8Qw@mail.gmail.com> <CAKRe7JGUUAinAqM9yHnUp0gJm5qwq5xvMhEo+fMnffRW7Kmu7w@mail.gmail.com> <CANatvzxhCXKRFEVJDeJfdMVxP6r+jyOSCcHkY8VHiPNCSF+SwA@mail.gmail.com> <CABkgnnVdR0fi9QKHT=tZUzAzAYe+XxG-oEj=srZGX0TMEkHcuw@mail.gmail.com> <CANatvzwPmZXEpcjE+O2BORq19FgGNGYgs7D7t-t_1O0-x-75KA@mail.gmail.com> <CABkgnnUrbBzKRZZsRzAf93A1Gj3AZQAfNpnBQLRqXzQFnRNwwA@mail.gmail.com> <CANatvzyPDKcuS3rnU9zYvRDXqmsRrqm=Y3+d3xS+a4e+MUZXuw@mail.gmail.com>
Date: Fri, 15 Jan 2016 17:57:41 +1100
Message-ID: <CABkgnnWkNynANyjGUkcZBTQjUsVDvDZYA+-zr9BD3+BK3xLNmQ@mail.gmail.com>
From: Martin Thomson <martin.thomson@gmail.com>
To: Kazuho Oku <kazuhooku@gmail.com>
Cc: Ilya Grigorik <ilya@igvita.com>, Stefan Eissing <stefan.eissing@greenbytes.de>, Amos Jeffries <squid3@treenet.co.nz>, HTTP Working Group <ietf-http-wg@w3.org>
Content-Type: text/plain; charset="UTF-8"
Received-SPF: pass client-ip=209.85.213.169; envelope-from=martin.thomson@gmail.com; helo=mail-ig0-f169.google.com
X-W3C-Hub-Spam-Status: No, score=-7.9
X-W3C-Hub-Spam-Report: AWL=1.836, BAYES_00=-1.9, DKIM_SIGNED=0.1, DKIM_VALID=-0.1, DKIM_VALID_AU=-0.1, FREEMAIL_FROM=0.001, RCVD_IN_DNSWL_LOW=-0.7, SPF_PASS=-0.001, W3C_AA=-1, W3C_DB=-1, W3C_IRA=-1, W3C_IRR=-3, W3C_WL=-1
X-W3C-Scan-Sig: maggie.w3.org 1aJyKl-0001ru-Ux 8a7300be1eee25445b4bc06df8970a7d
X-Original-To: ietf-http-wg@w3.org
Subject: Re: Submitted new I-D: Cache Digests for HTTP/2
Archived-At: <http://www.w3.org/mid/CABkgnnWkNynANyjGUkcZBTQjUsVDvDZYA+-zr9BD3+BK3xLNmQ@mail.gmail.com>
Resent-From: ietf-http-wg@w3.org
X-Mailing-List: <ietf-http-wg@w3.org> archive/latest/30936
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: <http://www.w3.org/Mail/>
List-Post: <mailto:ietf-http-wg@w3.org>
List-Unsubscribe: <mailto:ietf-http-wg-request@w3.org?subject=unsubscribe>

On 15 January 2016 at 17:51, Kazuho Oku <kazuhooku@gmail.com> wrote:
> Considering the fact that such APIs (that are incapable of expressing
> states shared between the requests) exist, I think the semantics
> should be defined in a way that every HTTP request can be complete by
> itself if we are going to send cache digest as a header.

Yeah, I agree.  That doesn't preclude a mechanism that explicitly
creates and references state, but that might be too complex to manage.
Sending the whole table every time isn't great, but let's see if this
is successful enough to warrant further optimization first.