Re: Last Call: <draft-ietf-httpbis-early-hints-03.txt> (An HTTP Status Code for Indicating Hints) to Experimental RFC

Julian Reschke <julian.reschke@gmx.de> Mon, 26 June 2017 16:09 UTC

Return-Path: <julian.reschke@gmx.de>
X-Original-To: ietf@ietfa.amsl.com
Delivered-To: ietf@ietfa.amsl.com
Received: from localhost (localhost [127.0.0.1]) by ietfa.amsl.com (Postfix) with ESMTP id A0AC4129C29; Mon, 26 Jun 2017 09:09:12 -0700 (PDT)
X-Virus-Scanned: amavisd-new at amsl.com
X-Spam-Flag: NO
X-Spam-Score: -4.2
X-Spam-Level:
X-Spam-Status: No, score=-4.2 tagged_above=-999 required=5 tests=[BAYES_00=-1.9, FREEMAIL_FROM=0.001, RCVD_IN_DNSWL_NONE=-0.0001, RCVD_IN_MSPIKE_H2=-2.8, RCVD_IN_SORBS_SPAM=0.5, SPF_PASS=-0.001] autolearn=ham autolearn_force=no
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 G6WI9WCJN9_R; Mon, 26 Jun 2017 09:09:10 -0700 (PDT)
Received: from mout.gmx.net (mout.gmx.net [212.227.17.21]) (using TLSv1.2 with cipher ECDHE-RSA-AES128-GCM-SHA256 (128/128 bits)) (No client certificate requested) by ietfa.amsl.com (Postfix) with ESMTPS id 4991312EA64; Mon, 26 Jun 2017 09:09:10 -0700 (PDT)
Received: from [192.168.178.20] ([93.217.84.68]) by mail.gmx.com (mrgmx102 [212.227.17.168]) with ESMTPSA (Nemesis) id 0MVJze-1dGCvL2omc-00Yiby; Mon, 26 Jun 2017 18:09:01 +0200
Subject: Re: Last Call: <draft-ietf-httpbis-early-hints-03.txt> (An HTTP Status Code for Indicating Hints) to Experimental RFC
To: Yoav Weiss <yoav@yoav.ws>, Kazuho Oku <kazuhooku@gmail.com>
Cc: ietf@ietf.org, httpbis-chairs@ietf.org, Mark Nottingham <mnot@mnot.net>, draft-ietf-httpbis-early-hints@ietf.org, HTTP Working Group <ietf-http-wg@w3.org>, alexey.melnikov@isode.com, Mike West <mkwst@chromium.org>
References: <149806437201.15854.12299810594896460001.idtracker@ietfa.amsl.com> <dcdff226-e12d-bb83-982f-8253f46ae935@gmx.de> <CANatvzygaU9oiof3-5TqnWdxqXOGNyGqPvNhTnpPzYy391CzNw@mail.gmail.com> <632d93e7-eab5-dcbe-e971-64e3b27ddb4e@gmx.de> <CACj=BEjQQMRh-6de2J_tzF5o=EYvhZZ4_XQQ6DJiEq0wG0zW+g@mail.gmail.com>
From: Julian Reschke <julian.reschke@gmx.de>
Message-ID: <3f4328be-beb7-49f8-0138-bcc570ea405a@gmx.de>
Date: Mon, 26 Jun 2017 18:08:57 +0200
User-Agent: Mozilla/5.0 (Windows NT 10.0; WOW64; rv:52.0) Gecko/20100101 Thunderbird/52.2.1
MIME-Version: 1.0
In-Reply-To: <CACj=BEjQQMRh-6de2J_tzF5o=EYvhZZ4_XQQ6DJiEq0wG0zW+g@mail.gmail.com>
Content-Type: text/plain; charset="utf-8"; format="flowed"
Content-Language: en-US
Content-Transfer-Encoding: 7bit
X-Provags-ID: V03:K0:THxg2oQWSvmHKIdS7t7CigVB3c6KVy+I2/05Yj4tRlm2goJN5W0 jh6NVymPgZUgkkUCIPMgDxDEohDdtQDKxzKAwMPST6Dcanr5AjzrozPkaf4NeGWY5PnLU7D VrVkN/X7SGnxyJIhXeViCTlz4fCOX0dQfshBvGwIyVUQLgVw5MdMOUETNejnWg12bokIN3W e4lhMebG3rMNbBobxosmw==
X-UI-Out-Filterresults: notjunk:1;V01:K0:V3DT2ira2aE=:NqGglhdKOknvSzgcg+H6gV 4FG2rAX88Y/eMZpDm0AZz8dbjoMp3O0UvyRioDGG7HUcigrHVxUUEYZxVEPkRVP2MCbAKX2HC 9NSLHVWuBeaezMgGVDgN84LzhdAs/EzXPuOypIBKZVgiqBaLHuUQqQNhetyYfNt2g72zt0uyI IBD4uF3QjKByC5AnBJLX2w/MGe6Kif8m6Kvb6WgZsgOwqrbXn+uN6gMS+ePu1scGkkCFnDw9T w8hojbNKhc9I1RHh5ZByUIxPsyGpnNH0oJxAE8SGcoHkaEv+8VbyXbjqOi7R6sSFu5o/Mg9fD 9a8fYhtaud8SUp/Ld9uX8w8wQxOsi12LkfOijNsL7GZ2QXdn1AquiBHVBfoJ8tRZaXcts/baF lNeMaENpDLxNlZ2/MVIRlC/Y+pMsI/nVUSNrw9m64RPooh+hDFJ+dsCRD3Ngu9R7REKy7JIcY VQ07lY5i8p/FF3ERsxSPqyGwqE5Y0ufyDEKWqNcJ4QWNNf0XscGZvq0hnkwvKRKIcvf1ffA8z Lm1hxx09QIN66HbZIfYSZSltcZVHG8eWb7Nx5OaiGyUEGjvDcFTw5t3rxoyVNk12vFs5FgRy1 ADRGaWRGrGSEgkEgcO8HPAqF7gKHRURhLs2/2+kOfgOK36YKTV+cOM01GfC3i3mEovasQu/K3 Lj2wIlw+6tF1Hz5/Cw02LFYSOs6WVIMb+sXRSnDVhAB9t/WJpCY1dwKoHtw3BV2dY/Y9JdaZS kP2JjQsfcPz/tqgNywpuHEtDLtgd53Pwln1vY5LtPpq68+x5J4c7TGc4oTf+aup2v0348AFJi p9KNBJw
Archived-At: <https://mailarchive.ietf.org/arch/msg/ietf/oOO_-2mek61HODvZtuS2q-V6Glo>
X-BeenThere: ietf@ietf.org
X-Mailman-Version: 2.1.22
Precedence: list
List-Id: IETF-Discussion <ietf.ietf.org>
List-Unsubscribe: <https://www.ietf.org/mailman/options/ietf>, <mailto:ietf-request@ietf.org?subject=unsubscribe>
List-Archive: <https://mailarchive.ietf.org/arch/browse/ietf/>
List-Post: <mailto:ietf@ietf.org>
List-Help: <mailto:ietf-request@ietf.org?subject=help>
List-Subscribe: <https://www.ietf.org/mailman/listinfo/ietf>, <mailto:ietf-request@ietf.org?subject=subscribe>
X-List-Received-Date: Mon, 26 Jun 2017 16:09:13 -0000

On 2017-06-26 17:58, Yoav Weiss wrote:
> An issue <https://github.com/w3c/preload/issues/101> raised by Mike West 
> (CCed) got me thinking if Early Hints are at all implementable at the 
> browser level (rather than just used as early push hints at the CDN level).
> 
> Currently, at least in Chromium and WebKit, requests triggered by 
> preload links are not sent until the document is committed, which means 
> that they are not sent immediately when the browser processes them. 
> That's likely to be a short, internal delay.
> However, in the context of Early Hints, that delay can be significant, 
> as it can take hundreds of milliseconds for the renderer process to get 
> created. At the same time, a lot of the logic required to send those 
> requests out sits in the rendering engine.
> 
> I'm not sure what is the solution to bridge that gap, if one exists.
> 
> Cheers,
> Yoav

As the IETF HTTP WG, we can specify the bits on the wire that *allow* a 
client to start fetching things earlier.

*How* the client does that is an implementation detail of the client. If 
I understand the issue correctly, *any* mechanism that would send 
"early" information would have the same problem, right?

Best regards, Julian