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

Patrick McManus <pmcmanus@mozilla.com> Tue, 22 January 2013 14:56 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 9AAA821F8A03 for <ietfarch-httpbisa-archive-bis2Juki@ietfa.amsl.com>; Tue, 22 Jan 2013 06:56:03 -0800 (PST)
X-Virus-Scanned: amavisd-new at amsl.com
X-Spam-Flag: NO
X-Spam-Score: -9.526
X-Spam-Level:
X-Spam-Status: No, score=-9.526 tagged_above=-999 required=5 tests=[AWL=0.450, BAYES_00=-2.599, FM_FORGED_GMAIL=0.622, 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 c7-jynV3jyIU for <ietfarch-httpbisa-archive-bis2Juki@ietfa.amsl.com>; Tue, 22 Jan 2013 06:56:03 -0800 (PST)
Received: from frink.w3.org (frink.w3.org [128.30.52.56]) by ietfa.amsl.com (Postfix) with ESMTP id E3A7621F89E1 for <httpbisa-archive-bis2Juki@lists.ietf.org>; Tue, 22 Jan 2013 06:56:02 -0800 (PST)
Received: from lists by frink.w3.org with local (Exim 4.72) (envelope-from <ietf-http-wg-request@listhub.w3.org>) id 1TxfFC-0002gZ-W1 for ietf-http-wg-dist@listhub.w3.org; Tue, 22 Jan 2013 14:54:35 +0000
Resent-Date: Tue, 22 Jan 2013 14:54:34 +0000
Resent-Message-Id: <E1TxfFC-0002gZ-W1@frink.w3.org>
Received: from maggie.w3.org ([128.30.52.39]) by frink.w3.org with esmtp (Exim 4.72) (envelope-from <patrick.ducksong@gmail.com>) id 1TxfF7-0002fp-5f for ietf-http-wg@listhub.w3.org; Tue, 22 Jan 2013 14:54:29 +0000
Received: from mail-ob0-f174.google.com ([209.85.214.174]) by maggie.w3.org with esmtps (TLS1.0:RSA_ARCFOUR_SHA1:16) (Exim 4.72) (envelope-from <patrick.ducksong@gmail.com>) id 1TxfF1-00011a-TM for ietf-http-wg@w3.org; Tue, 22 Jan 2013 14:54:29 +0000
Received: by mail-ob0-f174.google.com with SMTP id 16so1187944obc.33 for <ietf-http-wg@w3.org>; Tue, 22 Jan 2013 06:53:58 -0800 (PST)
DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=gmail.com; s=20120113; h=mime-version:x-received:sender:in-reply-to:references:date :x-google-sender-auth:message-id:subject:from:to:cc:content-type; bh=wM8BjoeSfaw+/EyfvVMpUWnL1SxZSIlnLo02ChLrmcc=; b=gz6tCc2Suq1cO2FCmJmBEboqykuNszAMc70W1PHjpVWvs/ZLr/ln0qg1+QIYPc4g3T vYBIkr4INPleFhKaMstNccL1hydMciD1vPWgJF5NNrfnnqFY5PcocnHi2GYVdPGr3qZm 53EP1AjUG3UpY3VUTm1yJPiitSjoj+se6y7ti3rdncaB5bnAYCBU/h3f3SNP0iXCi13+ daPVu26bfE2n24GLknj1uax15ahhdk5q64iYkt4uls+Y/t1IVvwNSh/b/nrVYGBGoNQs zUcSm51fwZd/uoME3Rlvg7RAbPOhaE9JKbAKA5hRSIrztmpkCoxUObaeOH9SEXxe9GpI ZCYw==
MIME-Version: 1.0
X-Received: by 10.60.32.71 with SMTP id g7mr17226125oei.96.1358866438030; Tue, 22 Jan 2013 06:53:58 -0800 (PST)
Sender: patrick.ducksong@gmail.com
Received: by 10.76.132.165 with HTTP; Tue, 22 Jan 2013 06:53:57 -0800 (PST)
In-Reply-To: <CAKRe7JE_GWAwraG_J3+3kb5V-HRVsDZisaaT3ywLE0fQyxE7NQ@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>
Date: Tue, 22 Jan 2013 09:53:57 -0500
X-Google-Sender-Auth: aseecoIlz5FiqJUjcB4_OvG2jIk
Message-ID: <CAOdDvNrH0FLed_k2Q1Qzs9w_M4odpQpzexgz6JRUP5APgO6qMQ@mail.gmail.com>
From: Patrick McManus <pmcmanus@mozilla.com>
To: Ilya Grigorik <ilya@igvita.com>
Cc: Mark Nottingham <mnot@mnot.net>, Roberto Peon <grmocg@gmail.com>, Frédéric Kayser <f.kayser@free.fr>, HTTP Working Group <ietf-http-wg@w3.org>
Content-Type: multipart/alternative; boundary="e89a8fb1f81e5606d304d3e1bf29"
Received-SPF: pass client-ip=209.85.214.174; envelope-from=patrick.ducksong@gmail.com; helo=mail-ob0-f174.google.com
X-W3C-Hub-Spam-Status: No, score=-3.4
X-W3C-Hub-Spam-Report: AWL=-2.710, DKIM_SIGNED=0.1, DKIM_VALID=-0.1, FREEMAIL_FROM=0.001, HTML_MESSAGE=0.001, RCVD_IN_DNSWL_LOW=-0.7, SPF_PASS=-0.001
X-W3C-Scan-Sig: maggie.w3.org 1TxfF1-00011a-TM 4eb07b4345216330cb1daffe56bf276a
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/CAOdDvNrH0FLed_k2Q1Qzs9w_M4odpQpzexgz6JRUP5APgO6qMQ@mail.gmail.com>
Resent-From: ietf-http-wg@w3.org
X-Mailing-List: <ietf-http-wg@w3.org> archive/latest/16110
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>

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
>