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

Alcides Viamontes E <alcidesv@zunzun.se> Wed, 10 February 2016 07:24 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 B34B01B37CA for <ietfarch-httpbisa-archive-bis2Juki@ietfa.amsl.com>; Tue, 9 Feb 2016 23:24:03 -0800 (PST)
X-Virus-Scanned: amavisd-new at amsl.com
X-Spam-Flag: NO
X-Spam-Score: -6.28
X-Spam-Level:
X-Spam-Status: No, score=-6.28 tagged_above=-999 required=5 tests=[BAYES_00=-1.9, DKIM_SIGNED=0.1, DKIM_VALID=-0.1, FM_FORGED_GMAIL=0.622, HTML_MESSAGE=0.001, 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 qaF-w6ppkRn8 for <ietfarch-httpbisa-archive-bis2Juki@ietfa.amsl.com>; Tue, 9 Feb 2016 23:24:01 -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 BCB451B37EA for <httpbisa-archive-bis2Juki@lists.ietf.org>; Tue, 9 Feb 2016 23:23:12 -0800 (PST)
Received: from lists by frink.w3.org with local (Exim 4.80) (envelope-from <ietf-http-wg-request@listhub.w3.org>) id 1aTP3j-0000vX-0E for ietf-http-wg-dist@listhub.w3.org; Wed, 10 Feb 2016 07:19:31 +0000
Resent-Date: Wed, 10 Feb 2016 07:19:31 +0000
Resent-Message-Id: <E1aTP3j-0000vX-0E@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 <alcidesv@zunzun.se>) id 1aTP3a-0000uj-0d for ietf-http-wg@listhub.w3.org; Wed, 10 Feb 2016 07:19:22 +0000
Received: from mail-vk0-f51.google.com ([209.85.213.51]) by maggie.w3.org with esmtps (TLS1.2:RSA_ARCFOUR_SHA1:128) (Exim 4.80) (envelope-from <alcidesv@zunzun.se>) id 1aTP3T-00039F-52 for ietf-http-wg@w3.org; Wed, 10 Feb 2016 07:19:20 +0000
Received: by mail-vk0-f51.google.com with SMTP id e185so7387663vkb.1 for <ietf-http-wg@w3.org>; Tue, 09 Feb 2016 23:18:54 -0800 (PST)
DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=zunzun-se.20150623.gappssmtp.com; s=20150623; h=mime-version:in-reply-to:references:date:message-id:subject:from:to :cc:content-type; bh=WkDzeshChR6fYgqktjgRQGzDN6V8zK60JbLEuhWXxwM=; b=yE01GITVhZ0G8bvyjmc0h0L3fWxyb4cnc3qtR0rd7TPdVjb2yd1Tfp0ivKjUaJE2gL C0oSsAfvYLEF/ttxys7bz31pIv5HGk4gBZw7qQCAcW41rW0S5tqB4kKg7+9yglomgPRy JfbaHDo1NtO4WGIgAokZiFhUYVK9geuRP23NIeRWu+ULfWnsWpHnZTJgzGWOnwbQ5LZO OmOkUsBOrbgwgwolKYCw/7rDl3AksGKM1SzI63iNm+lt/vNTnxZ5LQykHKbOH5ip46+a B1SsVVwG0dtMRClpLt1bLxAmBnyNhHqJxIwzaib1153vZARIsriag40W6rjkhPQGkxgc FYUw==
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=WkDzeshChR6fYgqktjgRQGzDN6V8zK60JbLEuhWXxwM=; b=aiCHu8jhte34OMtfnuKl5fe/pBJJfCx5nZXMAsWFWwFpU3uAcNSKRHXRaGqcx2I26A BmeJgBOMxuaq8Kzxs3hufG9TanQmFBrjCarFhVXHOd9/QS1tf81hZqYjruDRkmmWuTqW icAOrYLQkYYtmrM7m0r7l4qnJJU7QDiivGY8czT6GrObAysJwEEy32d5TPewYNhuFQtr 4WiBAj57wfQ62XGmgCr2YNxjsVwGpyrunGdtLEnKqbwR4seQZ+iwxQnwShQud2L2erRL Vcrm9dfyA9zp7yqFQie9cK2CRw19y7+wt1zvE15rBFCCFYk81iuavgUO5zl7EHHLFFUA kKvg==
X-Gm-Message-State: AG10YORZQYka2QlSQwZ5sv0Jip6SKDEGd7oyGKyuMZKDB2YzL8nXlN2jD6BudtJ8j2qZGVKO2Z+MVBbb/2UGLw==
MIME-Version: 1.0
X-Received: by 10.31.44.77 with SMTP id s74mr28413513vks.4.1455088728328; Tue, 09 Feb 2016 23:18:48 -0800 (PST)
Received: by 10.31.89.66 with HTTP; Tue, 9 Feb 2016 23:18:48 -0800 (PST)
In-Reply-To: <F6EC743C-187F-4189-B78B-51079FBB5F02@greenbytes.de>
References: <CANatvzxcKS46iAqAdfBHuWPt5k3XkR79NDMPPtDakOb2jPAywA@mail.gmail.com> <56A26B1E.4050303@rd.bbc.co.uk> <CANatvzyHbyrK7cjh+JsRpTR42knc6LXX7GWzj8ZEYPgv8cs49g@mail.gmail.com> <56B0F0DC.3060807@rd.bbc.co.uk> <56B110EE.5050705@treenet.co.nz> <CABkgnnU=BEPC=2X1f+DKDd11CrEG1awDG=j+J-Ha3B-mTPxfvA@mail.gmail.com> <CY1PR03MB137425A025736905630C91BF87D00@CY1PR03MB1374.namprd03.prod.outlook.com> <CAAMqGzbuSNYC6ResLR=NT5bLoDFDBn+=jjk00jKTN2v5TFSZ5Q@mail.gmail.com> <CANatvzzUQ+TEFZ5kML+Eagsb_O2pdmWosjMx_xspzrsCTy2hkA@mail.gmail.com> <F6EC743C-187F-4189-B78B-51079FBB5F02@greenbytes.de>
Date: Wed, 10 Feb 2016 08:18:48 +0100
Message-ID: <CAAMqGzYoftZ=gsAY1f526rkSyEPqafMTPcMpR9pHCkiVBUq0Lg@mail.gmail.com>
From: Alcides Viamontes E <alcidesv@zunzun.se>
To: Stefan Eissing <stefan.eissing@greenbytes.de>
Cc: Kazuho Oku <kazuhooku@gmail.com>, Mike Bishop <Michael.Bishop@microsoft.com>, Martin Thomson <martin.thomson@gmail.com>, Amos Jeffries <squid3@treenet.co.nz>, HTTP Working Group <ietf-http-wg@w3.org>
Content-Type: multipart/alternative; boundary="001a11c075a2c4e78b052b653eb5"
Received-SPF: pass client-ip=209.85.213.51; envelope-from=alcidesv@zunzun.se; helo=mail-vk0-f51.google.com
X-W3C-Hub-Spam-Status: No, score=-5.4
X-W3C-Hub-Spam-Report: AWL=-0.818, BAYES_00=-1.9, DKIM_SIGNED=0.1, DKIM_VALID=-0.1, HTML_MESSAGE=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 1aTP3T-00039F-52 67b1e4236ce02c44d506647c73afb830
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/CAAMqGzYoftZ=gsAY1f526rkSyEPqafMTPcMpR9pHCkiVBUq0Lg@mail.gmail.com>
Resent-From: ietf-http-wg@w3.org
X-Mailing-List: <ietf-http-wg@w3.org> archive/latest/31065
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>

Thanks Kazuho, I was not aware of that. It looks like I have some fixing to
do!

Bests,

./Alcides.

On Wed, Feb 10, 2016 at 8:02 AM, Stefan Eissing <
stefan.eissing@greenbytes.de> wrote:

> Is PUSHing a HEAD request, unconditional, not what you are looking for?
>
> > Am 10.02.2016 um 02:50 schrieb Kazuho Oku <kazuhooku@gmail.com>:
> >
> > Hi,
> >
> > 2016-02-09 20:46 GMT+09:00 Alcides Viamontes E <alcidesv@zunzun.se>:
> >>>> Not something that we've implemented yet, but it's a valid scenario.
> >>
> >> Pushing 304 works both in Chrome and Firefox:
> >> https://drive.google.com/open?id=0B2F2m0rSqGCVWFJnTzRWOWFWQmc , we
> have been
> >> doing it for some time.
> >
> > My understanding is that handling of pushed 304 in Chrome and Firefox
> > is unreliable.
> >
> > When sending a push, a server cannot be 100% certain if the client has
> > the resource cached.  In other words, there is always a possibility
> > that the pushed response will be considered as a response to a
> > non-conditional HTTP request on the client side.
> >
> > In other words, browsers that support 304 push should, when matching a
> > pushed 304 response against a HTTP request, check that the request is
> > conditional, and use the pushed response only if the request was
> > conditional (additional checks might be necessary).  Otherwise, the
> > pushed 304 request must be ignored, and the browser should pull the
> > unconditional HTTP request.
> >
> > However, my understanding is that both Chrome (48.0.2564.103) and
> > Firefox (44.0.1) don't do the check; they consider pushed 304
> > responses to be a response to a unconditional HTTP request.
> > Therefore, there is a chance that you would fail to deliver the
> > correct content if you use 304 push today.
> >
> > --
> > Kazuho Oku
> >
>