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 15:18 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 089A321F8949 for <ietfarch-httpbisa-archive-bis2Juki@ietfa.amsl.com>; Tue, 22 Jan 2013 07:18:46 -0800 (PST)
X-Virus-Scanned: amavisd-new at amsl.com
X-Spam-Flag: NO
X-Spam-Score: -10.23
X-Spam-Level:
X-Spam-Status: No, score=-10.23 tagged_above=-999 required=5 tests=[AWL=0.368, BAYES_00=-2.599, HTML_MESSAGE=0.001, 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 ctldPFaP-tRB for <ietfarch-httpbisa-archive-bis2Juki@ietfa.amsl.com>; Tue, 22 Jan 2013 07:18:45 -0800 (PST)
Received: from frink.w3.org (frink.w3.org [128.30.52.56]) by ietfa.amsl.com (Postfix) with ESMTP id 4D99821F89B9 for <httpbisa-archive-bis2Juki@lists.ietf.org>; Tue, 22 Jan 2013 07:18:45 -0800 (PST)
Received: from lists by frink.w3.org with local (Exim 4.72) (envelope-from <ietf-http-wg-request@listhub.w3.org>) id 1Txfbi-0004dK-7g for ietf-http-wg-dist@listhub.w3.org; Tue, 22 Jan 2013 15:17:50 +0000
Resent-Date: Tue, 22 Jan 2013 15:17:50 +0000
Resent-Message-Id: <E1Txfbi-0004dK-7g@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 1Txfba-0004ae-1q for ietf-http-wg@listhub.w3.org; Tue, 22 Jan 2013 15:17:42 +0000
Received: from mail-lb0-f175.google.com ([209.85.217.175]) by lisa.w3.org with esmtps (TLS1.0:RSA_ARCFOUR_SHA1:16) (Exim 4.72) (envelope-from <grmocg@gmail.com>) id 1TxfbZ-0002j9-00 for ietf-http-wg@w3.org; Tue, 22 Jan 2013 15:17:42 +0000
Received: by mail-lb0-f175.google.com with SMTP id n3so4969715lbo.20 for <ietf-http-wg@w3.org>; Tue, 22 Jan 2013 07:17:14 -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=/+Ne0MhQ4dnaWHpDVWvLR8LUmjVhd5uSUOeLMRW1Muo=; b=GF+NJ9Ud9qYGx7SVAUKR0Wx41o1eqzJsdgjlyN7b5JGKHIxLDFteNxsPEaQ/r3CTOm rkRR5Yusk2OWQHwjIlEjXMX0pN6/riiMP9eK29mjlTj4bRdK08G/m7BSuuHyz0Hd5ZHP J4v5qml8f4toZ0Zl0VKGbKVGRVfDzSbnYVvZ4SdLsnFG5140urGkAXXugoN+j4PniHdX 0sfGTdVq+epsLMO5ncNrjFafDrQi/XRZx+PtJNeZog6DopgI6WRvDHuiQfa+gLooducU VzeaWhLErHKSm9iiaJKSVE7ktfkUIgA8z2XWLx4pKpTSmyjsG3bZHQS4sRC4T+gYX5Xo tYVA==
MIME-Version: 1.0
X-Received: by 10.112.38.164 with SMTP id h4mr6420846lbk.123.1358867833972; Tue, 22 Jan 2013 07:17:13 -0800 (PST)
Received: by 10.112.81.5 with HTTP; Tue, 22 Jan 2013 07:17:13 -0800 (PST)
In-Reply-To: <CAOdDvNrH0FLed_k2Q1Qzs9w_M4odpQpzexgz6JRUP5APgO6qMQ@mail.gmail.com>
References: <20130121233617.11829.39388.idtracker@ietfa.amsl.com> <811EDF18-4B55-4732-8307-F6B4E0F07DF6@free.fr> <CAP+FsNesBJ_s15StYJLJoSOSJyB+Yx3C8p7kMiK_qH_9Q1F-Nw@mail.gmail.com> <FF21A5E5-0F41-45BE-8A08-7915E9632A86@mnot.net> <CAKRe7JE_GWAwraG_J3+3kb5V-HRVsDZisaaT3ywLE0fQyxE7NQ@mail.gmail.com> <CAOdDvNrH0FLed_k2Q1Qzs9w_M4odpQpzexgz6JRUP5APgO6qMQ@mail.gmail.com>
Date: Tue, 22 Jan 2013 07:17:13 -0800
Message-ID: <CAP+FsNdRdYSz8JaX3=LH5fuekV81nnU+hD593viUppuOyJNR_Q@mail.gmail.com>
From: Roberto Peon <grmocg@gmail.com>
To: Patrick McManus <pmcmanus@mozilla.com>
Cc: Ilya Grigorik <ilya@igvita.com>, Mark Nottingham <mnot@mnot.net>, Frédéric Kayser <f.kayser@free.fr>, HTTP Working Group <ietf-http-wg@w3.org>
Content-Type: multipart/alternative; boundary="e0cb4efe2f808a689b04d3e2123f"
Received-SPF: pass client-ip=209.85.217.175; envelope-from=grmocg@gmail.com; helo=mail-lb0-f175.google.com
X-W3C-Hub-Spam-Status: No, score=-3.4
X-W3C-Hub-Spam-Report: AWL=-2.570, 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 1TxfbZ-0002j9-00 e3c1100d3b3913e362636eb81d2cb39b
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+FsNdRdYSz8JaX3=LH5fuekV81nnU+hD593viUppuOyJNR_Q@mail.gmail.com>
Resent-From: ietf-http-wg@w3.org
X-Mailing-List: <ietf-http-wg@w3.org> archive/latest/16111
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>

I don't disagree-- that would be nice. :)

I just want to be sure that we're not tying server push to a requirement
that we generate a usable refinement (e.g. cache hinting)-- If we do that,
we again force people to inline, which wouldn't be anywhere as easy to
refine in the future.
-=R


On Tue, Jan 22, 2013 at 6:53 AM, Patrick McManus <pmcmanus@mozilla.com>wrote:

> honestly I do think push can, and should, be refined a bit for reasons of
> bandwidth (and cost) conservation in some envs. Even the notiion of
> Have-Subresources:: etag set (or hash of set, or whatever) probly gets a
> long way.
>
>
>
> On Mon, Jan 21, 2013 at 11:20 PM, Ilya Grigorik <ilya@igvita.com> wrote:
>
>>
>> On Mon, Jan 21, 2013 at 7:35 PM, Mark Nottingham <mnot@mnot.net> wrote:
>>
>>> Also, it'd be REALLY nice to think about about what this means for
>>> responsive design; e.g., if I'm a mobile, I don't need the desktop
>>> stylesheet, and maybe not some of those images too. So, how does that work
>>> in a push world?
>>
>>
>> I think these are mostly orthogonal. While its a good exercise to think
>> about this, I don't think this needs to be an explicit goal for HTTP 2.0.
>> The HTML5 spec specifically says that the resources should be downloaded,
>> even if the media-query breakpoint does not match (ex, print stylesheet,
>> etc). In other words, we need to first resolve these questions in HTML5
>> specs, before we worry about the transport.. otherwise cart before the
>> horse...
>>
>> And, all of that aside, we do have a solution: serve the appropriate HTML
>> to different clients. (just add a Vary: User-Agent.. oh wait - *ducks* :-))
>>
>> ig
>>
>
>