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

Kazuho Oku <kazuhooku@gmail.com> Mon, 18 January 2016 00:19 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 0881E1AC3D7 for <ietfarch-httpbisa-archive-bis2Juki@ietfa.amsl.com>; Sun, 17 Jan 2016 16:19:23 -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 yN-_2PxP6xhO for <ietfarch-httpbisa-archive-bis2Juki@ietfa.amsl.com>; Sun, 17 Jan 2016 16:19:21 -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 7BE2F1AC3D8 for <httpbisa-archive-bis2Juki@lists.ietf.org>; Sun, 17 Jan 2016 16:19:20 -0800 (PST)
Received: from lists by frink.w3.org with local (Exim 4.80) (envelope-from <ietf-http-wg-request@listhub.w3.org>) id 1aKxTA-0003Xv-9x for ietf-http-wg-dist@listhub.w3.org; Mon, 18 Jan 2016 00:14:52 +0000
Resent-Date: Mon, 18 Jan 2016 00:14:52 +0000
Resent-Message-Id: <E1aKxTA-0003Xv-9x@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 <kazuhooku@gmail.com>) id 1aKxT4-0003Wp-9A for ietf-http-wg@listhub.w3.org; Mon, 18 Jan 2016 00:14:46 +0000
Received: from mail-wm0-f48.google.com ([74.125.82.48]) by maggie.w3.org with esmtps (TLS1.2:RSA_ARCFOUR_SHA1:128) (Exim 4.80) (envelope-from <kazuhooku@gmail.com>) id 1aKxT2-0001HZ-9f for ietf-http-wg@w3.org; Mon, 18 Jan 2016 00:14:45 +0000
Received: by mail-wm0-f48.google.com with SMTP id n5so40179480wmn.0 for <ietf-http-wg@w3.org>; Sun, 17 Jan 2016 16:14:23 -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=9sab1bBbuz03NDkJytSLG5HEm6+Hgs0ndaVH4PBPLaw=; b=RwhgctKTjbpNZsnmDWdxqCvYU1YxKc3ZYp9ZKn4U6MGmcJB5YYRy+gD/QMBy9YNSrt bWn3cchABkXC6yUS9sVK4BN0Dyvnh8vBJPKewUSsO4lqzVtutHuwUaIvkZkCr5pgLE1o FV69oT2OaGtka54O6XgyKfuDkBCUosYBFH7FpyL1tsiyxWQnF5ev4nKzmMf1D+0mo/HK w7znTV1evqX6Pq1KHkLLDhtB/88BmwJufN+8WsFbEtEnJOeamXaeZiH70ott8eGPHr3i TvwLhP/qW3QKRUkiuPuN9KEWvKPnz+YB3uY0B985T+SKrnVqgZpjI5QwBwAxW1HYfURk 8fKQ==
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=9sab1bBbuz03NDkJytSLG5HEm6+Hgs0ndaVH4PBPLaw=; b=TvRU6eG/wi/FV5y7TEd0OQRzXXhsKD/0D+bx+0MC02v2nqtwtGihhS9gsVsiLuOaf2 eduqya557FDbF7LQ4MiEq66U9Qq9mERTfP8Xp8OF6ltpIinutkwbrA/Yr4kpLtXkfStx RnrF1qMGcCWPma8XDopMJCaF41CVFJOoQiYkrUVLktfsOQ53yuwUFKP/W1UUWft1UYwv j1/osamx8d8uybmtoV69AAklxi5pORTlkNqweGNM5/WG8EUk+2f8/pTiRvDuUFwrob54 Z+jrEOZrVwyHJ8iQBKpc1WCxnLNAfJ5EsSWoy7aE5TMZ4Y6P8sFqRoLT1bkS0sCN8EAL poQg==
X-Gm-Message-State: AG10YOQE2IJN4izeC2JElq33EXO7wAHuyVtKzg1/DgX1FRpeDmQt2REZFHqVANtvPMHgRp70YY33MmG7J4khaw==
MIME-Version: 1.0
X-Received: by 10.28.1.210 with SMTP id 201mr10388784wmb.90.1453076057770; Sun, 17 Jan 2016 16:14:17 -0800 (PST)
Received: by 10.194.235.163 with HTTP; Sun, 17 Jan 2016 16:14:17 -0800 (PST)
In-Reply-To: <32E2C157-5DFF-4AD8-86D5-2E2B422F4029@greenbytes.de>
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> <CABkgnnWkNynANyjGUkcZBTQjUsVDvDZYA+-zr9BD3+BK3xLNmQ@mail.gmail.com> <32E2C157-5DFF-4AD8-86D5-2E2B422F4029@greenbytes.de>
Date: Mon, 18 Jan 2016 09:14:17 +0900
Message-ID: <CANatvzw1-XxfWa8W909G5+7fRsoXLAhgqsU8rYNQkkFRg1Ra3w@mail.gmail.com>
From: Kazuho Oku <kazuhooku@gmail.com>
To: Stefan Eissing <stefan.eissing@greenbytes.de>
Cc: Martin Thomson <martin.thomson@gmail.com>, Ilya Grigorik <ilya@igvita.com>, 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=74.125.82.48; envelope-from=kazuhooku@gmail.com; helo=mail-wm0-f48.google.com
X-W3C-Hub-Spam-Status: No, score=-5.5
X-W3C-Hub-Spam-Report: AWL=-0.817, 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_WL=-1
X-W3C-Scan-Sig: maggie.w3.org 1aKxT2-0001HZ-9f 368a35bb5e1b19ae5944df08aad336ea
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/CANatvzw1-XxfWa8W909G5+7fRsoXLAhgqsU8rYNQkkFRg1Ra3w@mail.gmail.com>
Resent-From: ietf-http-wg@w3.org
X-Mailing-List: <ietf-http-wg@w3.org> archive/latest/30957
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>

2016-01-16 0:16 GMT+09:00 Stefan Eissing <stefan.eissing@greenbytes.de>:
> I just released v1.2.0 of mod_http2 with support for
> the 'Cache-Digest' request header
> (https://github.com/icing/mod_h2/releases/tag/v1.2.0)
>
> When a request comes with
>
> Cache-Digest: BAqbuEx20N-JQDERYEeacOaLNC6x_wA=
>
> the value is assumed to be base64url encoded bytes of cache digest as
> described in the draft. (The implementation may have some bits wrong, but
> it works with itself at least...)
>
> There is also a handler that can be configured in the server that hands
> out JSON with some stats and the cache digest of the current connection.
> I use this for my own testing, might come in handy to have that available
> to client experimenters. How-to in the release notes.

Wow!  Very fast!  I'm delighted to hear that.

> -Stefan
>
>> Am 15.01.2016 um 07:57 schrieb Martin Thomson <martin.thomson@gmail.com>:
>>
>> 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.
>>
>
>



-- 
Kazuho Oku