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

Ilya Grigorik <ilya@igvita.com> Tue, 22 January 2013 04:23 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 35AE121F857A for <ietfarch-httpbisa-archive-bis2Juki@ietfa.amsl.com>; Mon, 21 Jan 2013 20:23:18 -0800 (PST)
X-Virus-Scanned: amavisd-new at amsl.com
X-Spam-Flag: NO
X-Spam-Score: -9.976
X-Spam-Level:
X-Spam-Status: No, score=-9.976 tagged_above=-999 required=5 tests=[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 STKi29PUjCAN for <ietfarch-httpbisa-archive-bis2Juki@ietfa.amsl.com>; Mon, 21 Jan 2013 20:23:17 -0800 (PST)
Received: from frink.w3.org (frink.w3.org [128.30.52.56]) by ietfa.amsl.com (Postfix) with ESMTP id 9666E21F8505 for <httpbisa-archive-bis2Juki@lists.ietf.org>; Mon, 21 Jan 2013 20:23:17 -0800 (PST)
Received: from lists by frink.w3.org with local (Exim 4.72) (envelope-from <ietf-http-wg-request@listhub.w3.org>) id 1TxVMz-0002T3-Vt for ietf-http-wg-dist@listhub.w3.org; Tue, 22 Jan 2013 04:21:58 +0000
Resent-Date: Tue, 22 Jan 2013 04:21:57 +0000
Resent-Message-Id: <E1TxVMz-0002T3-Vt@frink.w3.org>
Received: from maggie.w3.org ([128.30.52.39]) by frink.w3.org with esmtp (Exim 4.72) (envelope-from <ilya@igvita.com>) id 1TxVMv-0002SO-TT for ietf-http-wg@listhub.w3.org; Tue, 22 Jan 2013 04:21:53 +0000
Received: from mail-ia0-f174.google.com ([209.85.210.174]) by maggie.w3.org with esmtps (TLS1.0:RSA_ARCFOUR_SHA1:16) (Exim 4.72) (envelope-from <ilya@igvita.com>) id 1TxVMv-0003DR-9z for ietf-http-wg@w3.org; Tue, 22 Jan 2013 04:21:53 +0000
Received: by mail-ia0-f174.google.com with SMTP id o25so2987476iad.19 for <ietf-http-wg@w3.org>; Mon, 21 Jan 2013 20:21:27 -0800 (PST)
X-Google-DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=google.com; s=20120113; h=x-received:x-received:mime-version:in-reply-to:references:from:date :message-id:subject:to:cc:content-type:x-gm-message-state; bh=kZ7a54PMqmOPdtpw77jUEHeJLuXXVM9zSRaM0sISS3o=; b=FzvPjg5TPJ/hkjXWwPsOG+jI/RIFbEZIKwC/hDrPkOA7EL/9pXlcfebdndj3BF5WfS czw6ertnkYsZPOOfr1qdx5kPaHmTOjqXuHIi8JQI0xT6qYgccB6auAAezgj+9dXnpQkI vogPjxqR8Mb7InHaoRqCqoA38E2Oq3arlXYD2KpjZWrtStZdIIDtdAfXVI3CmQ+FKHqD OjQMewiJ/vDQRc002tcevbyHA40OXECWBxVumpHmjMRho95Bt3BNtGLi13+w7pnl1xAn S0/IMGDSzBemFJtyZhe250+k9TEFgBYOKIsq99sZ7ORw8eIvUubXCxFbwL79/PSdEpmc UfOg==
X-Received: by 10.50.150.168 with SMTP id uj8mr10444299igb.90.1358828486951; Mon, 21 Jan 2013 20:21:26 -0800 (PST)
Received: from mail-ie0-f172.google.com (mail-ie0-f172.google.com [209.85.223.172]) by mx.google.com with ESMTPS id e9sm10060811igp.11.2013.01.21.20.21.26 (version=TLSv1 cipher=ECDHE-RSA-RC4-SHA bits=128/128); Mon, 21 Jan 2013 20:21:26 -0800 (PST)
Received: by mail-ie0-f172.google.com with SMTP id c13so11107458ieb.3 for <ietf-http-wg@w3.org>; Mon, 21 Jan 2013 20:21:25 -0800 (PST)
X-Received: by 10.50.88.136 with SMTP id bg8mr10880692igb.96.1358828485906; Mon, 21 Jan 2013 20:21:25 -0800 (PST)
MIME-Version: 1.0
Received: by 10.64.147.99 with HTTP; Mon, 21 Jan 2013 20:20:45 -0800 (PST)
In-Reply-To: <FF21A5E5-0F41-45BE-8A08-7915E9632A86@mnot.net>
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>
From: Ilya Grigorik <ilya@igvita.com>
Date: Mon, 21 Jan 2013 20:20:45 -0800
Message-ID: <CAKRe7JE_GWAwraG_J3+3kb5V-HRVsDZisaaT3ywLE0fQyxE7NQ@mail.gmail.com>
To: Mark Nottingham <mnot@mnot.net>
Cc: 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="e89a8f235a1736915804d3d8e9e4"
X-Gm-Message-State: ALoCoQn5sbGJpbsSLsqgavxNSeR0wL2hmKVtDnCUeAr/fqv3ux5kD1WzTGzW72/gGXXD44RxlAh8
Received-SPF: pass client-ip=209.85.210.174; envelope-from=ilya@igvita.com; helo=mail-ia0-f174.google.com
X-W3C-Hub-Spam-Status: No, score=-4.4
X-W3C-Hub-Spam-Report: AWL=-1.817, BAYES_00=-1.9, HTML_MESSAGE=0.001, RCVD_IN_DNSWL_LOW=-0.7, SPF_PASS=-0.001
X-W3C-Scan-Sig: maggie.w3.org 1TxVMv-0003DR-9z 13995c22005e8a01b02faedc89007f7e
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/CAKRe7JE_GWAwraG_J3+3kb5V-HRVsDZisaaT3ywLE0fQyxE7NQ@mail.gmail.com>
Resent-From: ietf-http-wg@w3.org
X-Mailing-List: <ietf-http-wg@w3.org> archive/latest/16093
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>

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