Re: How to stop receiving a pushed resource? (I-D Action: draft-ietf-httpbis-http2-01.txt)

Roberto Peon <grmocg@gmail.com> Tue, 22 January 2013 10:03 UTC

Return-Path: <ietf-http-wg-request@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 371AC21F8826 for <ietfarch-httpbisa-archive-bis2Juki@ietfa.amsl.com>; Tue, 22 Jan 2013 02:03:23 -0800 (PST)
X-Virus-Scanned: amavisd-new at amsl.com
X-Spam-Flag: NO
X-Spam-Score: -10.086
X-Spam-Level:
X-Spam-Status: No, score=-10.086 tagged_above=-999 required=5 tests=[AWL=0.212, BAYES_00=-2.599, HTML_MESSAGE=0.001, MIME_8BIT_HEADER=0.3, RCVD_IN_DNSWL_HI=-8]
Received: from mail.ietf.org ([64.170.98.30]) by localhost (ietfa.amsl.com [127.0.0.1]) (amavisd-new, port 10024) with ESMTP id TKZJzBk4wYbQ for <ietfarch-httpbisa-archive-bis2Juki@ietfa.amsl.com>; Tue, 22 Jan 2013 02:03:22 -0800 (PST)
Received: from frink.w3.org (frink.w3.org [128.30.52.56]) by ietfa.amsl.com (Postfix) with ESMTP id 693AD21F87FF for <httpbisa-archive-bis2Juki@lists.ietf.org>; Tue, 22 Jan 2013 02:03:22 -0800 (PST)
Received: from lists by frink.w3.org with local (Exim 4.72) (envelope-from <ietf-http-wg-request@listhub.w3.org>) id 1Txafu-0006vP-CD for ietf-http-wg-dist@listhub.w3.org; Tue, 22 Jan 2013 10:01:50 +0000
Resent-Date: Tue, 22 Jan 2013 10:01:50 +0000
Resent-Message-Id: <E1Txafu-0006vP-CD@frink.w3.org>
Received: from lisa.w3.org ([128.30.52.41]) by frink.w3.org with esmtp (Exim 4.72) (envelope-from <grmocg@gmail.com>) id 1Txafl-0006uf-Fh for ietf-http-wg@listhub.w3.org; Tue, 22 Jan 2013 10:01:41 +0000
Received: from mail-lb0-f172.google.com ([209.85.217.172]) by lisa.w3.org with esmtps (TLS1.0:RSA_ARCFOUR_SHA1:16) (Exim 4.72) (envelope-from <grmocg@gmail.com>) id 1Txafk-0005ug-AV for ietf-http-wg@w3.org; Tue, 22 Jan 2013 10:01:41 +0000
Received: by mail-lb0-f172.google.com with SMTP id n8so3367342lbj.31 for <ietf-http-wg@w3.org>; Tue, 22 Jan 2013 02:01:13 -0800 (PST)
DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=gmail.com; s=20120113; h=mime-version:x-received:in-reply-to:references:date:message-id :subject:from:to:cc:content-type; bh=82M+LtRqNUi54wdp9iyVJzv1HEark+tXKhs5m/ZtCCQ=; b=NsQUjeQH97XNeEkOjhQXgiiTWOl/VRmvunw8KdIAtaXZ/Sg+JRE2BOZfbVvwTxXyOY 7uEHUaAli2rhMdJf1umeNGroKezeuXubm13aqqzrn5OM2fXPZZZup2qFh44gC5aQvDLv Iw5U4+62Uz63qAdZnSI/ynOzITZVEPyFOV6kx04qlkRnXKSIpI7gE4MtsCDSumJiQ5J8 vS9B4f/wERVsCczvcc/nhEXIz8M8NsZBjJjQWk17skuRFTbGMHjt4qamopRJGqAblJxq YXiWCdYZHDWFLrCmbslvF7IjtMOp3NTzB67V52aDpx9aU3EgofDN3ys7TUjaN5EUDrAK Bnpg==
MIME-Version: 1.0
X-Received: by 10.112.11.33 with SMTP id n1mr9034843lbb.18.1358848873489; Tue, 22 Jan 2013 02:01:13 -0800 (PST)
Received: by 10.112.81.5 with HTTP; Tue, 22 Jan 2013 02:01:13 -0800 (PST)
In-Reply-To: <760C0C47-68E1-4811-AC76-0495713A8823@free.fr>
References: <20130121233617.11829.39388.idtracker@ietfa.amsl.com> <811EDF18-4B55-4732-8307-F6B4E0F07DF6@free.fr> <CAA4WUYjftBfen1-H9kq7zRCfCf-ST5fkv+Y9CCaRJ6TEBMRrPw@mail.gmail.com> <760C0C47-68E1-4811-AC76-0495713A8823@free.fr>
Date: Tue, 22 Jan 2013 02:01:13 -0800
Message-ID: <CAP+FsNd0vzY1-p2h7iBOajOxc9xaAO38T2B3XiYGhTC9Rb+GTg@mail.gmail.com>
From: Roberto Peon <grmocg@gmail.com>
To: Frédéric Kayser <f.kayser@free.fr>
Cc: HTTP Working Group <ietf-http-wg@w3.org>
Content-Type: multipart/alternative; boundary="e0cb4efe2a306864d304d3dda84c"
Received-SPF: pass client-ip=209.85.217.172; envelope-from=grmocg@gmail.com; helo=mail-lb0-f172.google.com
X-W3C-Hub-Spam-Status: No, score=-3.5
X-W3C-Hub-Spam-Report: AWL=-2.680, DKIM_SIGNED=0.1, DKIM_VALID=-0.1, DKIM_VALID_AU=-0.1, FREEMAIL_FROM=0.001, HTML_MESSAGE=0.001, RCVD_IN_DNSWL_LOW=-0.7, SPF_PASS=-0.001
X-W3C-Scan-Sig: lisa.w3.org 1Txafk-0005ug-AV dd12a2cc83f44c1067b227d0aeda1f31
X-Original-To: ietf-http-wg@w3.org
Subject: Re: How to stop receiving a pushed resource? (I-D Action: draft-ietf-httpbis-http2-01.txt)
Archived-At: <http://www.w3.org/mid/CAP+FsNd0vzY1-p2h7iBOajOxc9xaAO38T2B3XiYGhTC9Rb+GTg@mail.gmail.com>
Resent-From: ietf-http-wg@w3.org
X-Mailing-List: <ietf-http-wg@w3.org> archive/latest/16101
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>

The idea that is in my mind is that people would innovate and the best
ideas would win out. :)

Personally, I suspect there are a few winning approaches, the first being
page static analysis and rewrite (which you mention) which is in use for
HTML for HTTP today, the second being the server learning based on what the
clients ask for (either by examination of the request stream, examination
of referrers, or reaping of timing stats about page loads), and the third
being the content developer specifies.

The latter two approaches are in use today, with mod_spdy pushing what the
content-owners tells it to (by including a 'x-associated-resource' from
cgi, "Headers" directive, or similar), and with Jetty doing some learning.
I don't know of anyone doing the first yet, but, I'd guess it was only a
matter of time and would likely be a selling feature in/for the various
acceleration services.

-=R


On Tue, Jan 22, 2013 at 12:19 AM, Frédéric Kayser <f.kayser@free.fr> wrote:

> Ok,
> I'm familiar with the data URI scheme used by front-end developers. Since
> "push" is way closer to the server it will probably require the creation of
> "pushing rules" (if this HTML page is requested push this CSS file and
> these background images along) or is it envisioned that the server could
> parse HTML/CSS files to automatically pick up other resources to push, or
> even train some kind of IA to learn which file request is usually followed
> by other requests and anticipate such patterns?
>
> Frédéric
>
> Le 22 janv. 2013 à 03:23, William Chan (陈智昌) a écrit :
>
> > Note that web developers are already pushing resources. It's called
> > resource inlining
> > (https://developers.google.com/speed/docs/pss/InlineSmallResources).
> > These resources do not have their own URLs, are usually inlined into
> > uncacheable documents, and thus are rarely cached at all. Using server
> > push will enable them to have their own URLs and be cached by the
> > client if that makes sense.
> >
> > Remember, once you issue a request to a server, the server can send
> > you anything in return. It's in our interest to provide them better
> > facilities for sending responses, or they will hack around it in less
> > optimal ways.
>
>
>