Re: draft-ruellan-http-accept-push-policy-02 comments

Stefan Eissing <stefan.eissing@greenbytes.de> Wed, 13 July 2016 06:46 UTC

Return-Path: <ietf-http-wg-request+bounce-httpbisa-archive-bis2juki=lists.ie@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 910AE12B063 for <ietfarch-httpbisa-archive-bis2Juki@ietfa.amsl.com>; Tue, 12 Jul 2016 23:46:22 -0700 (PDT)
X-Virus-Scanned: amavisd-new at amsl.com
X-Spam-Flag: NO
X-Spam-Score: -8.308
X-Spam-Level:
X-Spam-Status: No, score=-8.308 tagged_above=-999 required=5 tests=[BAYES_00=-1.9, DKIM_SIGNED=0.1, DKIM_VALID=-0.1, DKIM_VALID_AU=-0.1, HEADER_FROM_DIFFERENT_DOMAINS=0.001, RCVD_IN_DNSWL_HI=-5, RCVD_IN_MSPIKE_H3=-0.01, RCVD_IN_MSPIKE_WL=-0.01, RP_MATCHES_RCVD=-1.287, SPF_HELO_PASS=-0.001, SPF_PASS=-0.001] autolearn=ham autolearn_force=no
Authentication-Results: ietfa.amsl.com (amavisd-new); dkim=pass (1024-bit key) header.d=greenbytes.de header.b=NXJBpY4B; dkim=pass (1024-bit key) header.d=greenbytes.de header.b=NXJBpY4B
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 D7460olEou4q for <ietfarch-httpbisa-archive-bis2Juki@ietfa.amsl.com>; Tue, 12 Jul 2016 23:46:20 -0700 (PDT)
Received: from frink.w3.org (frink.w3.org [128.30.52.56]) (using TLSv1.2 with cipher DHE-RSA-AES128-SHA (128/128 bits)) (No client certificate requested) by ietfa.amsl.com (Postfix) with ESMTPS id 3642B12B031 for <httpbisa-archive-bis2Juki@lists.ietf.org>; Tue, 12 Jul 2016 23:46:20 -0700 (PDT)
Received: from lists by frink.w3.org with local (Exim 4.80) (envelope-from <ietf-http-wg-request@listhub.w3.org>) id 1bNDrz-0005qX-MY for ietf-http-wg-dist@listhub.w3.org; Wed, 13 Jul 2016 06:42:07 +0000
Resent-Date: Wed, 13 Jul 2016 06:42:07 +0000
Resent-Message-Id: <E1bNDrz-0005qX-MY@frink.w3.org>
Received: from maggie.w3.org ([128.30.52.39]) by frink.w3.org with esmtps (TLS1.2:DHE_RSA_AES_128_CBC_SHA1:128) (Exim 4.80) (envelope-from <stefan.eissing@greenbytes.de>) id 1bNDrx-0005pt-85 for ietf-http-wg@listhub.w3.org; Wed, 13 Jul 2016 06:42:05 +0000
Received: from mail.greenbytes.de ([5.10.171.186]) by maggie.w3.org with esmtps (TLS1.2:DHE_RSA_AES_256_CBC_SHA256:256) (Exim 4.80) (envelope-from <stefan.eissing@greenbytes.de>) id 1bNDrt-0003KQ-Jg for ietf-http-wg@w3.org; Wed, 13 Jul 2016 06:42:04 +0000
Received: by mail.greenbytes.de (Postfix, from userid 117) id 9D56715A0415; Wed, 13 Jul 2016 08:41:33 +0200 (CEST)
DKIM-Signature: v=1; a=rsa-sha256; c=simple/simple; d=greenbytes.de; s=mail; t=1468392093; bh=DpCqt9io5GUV7hSdjCDB9eH2jYwE0cGdoGZAht+AJIU=; h=Subject:From:In-Reply-To:Date:Cc:References:To:From; b=NXJBpY4BU20rAALk6lPsbkd6Y9Cx4qmuS/sFcWS3GLq5mw/Q35zjCD1KfArwXwNnV eH0x1oazJDfABZqCBTkwL4XZsd/A4BQt6nm8O3TNwpMflCqIIsf6FwrB+g9I/pav4H rvyDdbQXqW4BZUeP9DHqasLN1MdfjAjJ9Cyl5qpg=
Received: from [192.168.1.42] (unknown [192.168.1.1]) (using TLSv1 with cipher ECDHE-RSA-AES256-SHA (256/256 bits)) (Client did not present a certificate) by mail.greenbytes.de (Postfix) with ESMTPSA id 52BA315A0415; Wed, 13 Jul 2016 08:41:33 +0200 (CEST)
DKIM-Signature: v=1; a=rsa-sha256; c=simple/simple; d=greenbytes.de; s=mail; t=1468392093; bh=DpCqt9io5GUV7hSdjCDB9eH2jYwE0cGdoGZAht+AJIU=; h=Subject:From:In-Reply-To:Date:Cc:References:To:From; b=NXJBpY4BU20rAALk6lPsbkd6Y9Cx4qmuS/sFcWS3GLq5mw/Q35zjCD1KfArwXwNnV eH0x1oazJDfABZqCBTkwL4XZsd/A4BQt6nm8O3TNwpMflCqIIsf6FwrB+g9I/pav4H rvyDdbQXqW4BZUeP9DHqasLN1MdfjAjJ9Cyl5qpg=
Content-Type: text/plain; charset="us-ascii"
Mime-Version: 1.0 (Mac OS X Mail 9.3 \(3124\))
From: Stefan Eissing <stefan.eissing@greenbytes.de>
In-Reply-To: <CABkgnnVWz-MVW=C9cSpjCOuKe8g5dy=XGk5juFsT4ntv-s5EsA@mail.gmail.com>
Date: Wed, 13 Jul 2016 08:41:36 +0200
Cc: HTTP Working Group <ietf-http-wg@w3.org>
Content-Transfer-Encoding: quoted-printable
Message-Id: <3B3B783B-DD69-4861-9865-46B511EC7D47@greenbytes.de>
References: <CABkgnnVWz-MVW=C9cSpjCOuKe8g5dy=XGk5juFsT4ntv-s5EsA@mail.gmail.com>
To: Martin Thomson <martin.thomson@gmail.com>
X-Mailer: Apple Mail (2.3124)
Received-SPF: pass client-ip=5.10.171.186; envelope-from=stefan.eissing@greenbytes.de; helo=mail.greenbytes.de
X-W3C-Hub-Spam-Status: No, score=-5.8
X-W3C-Hub-Spam-Report: AWL=-0.491, BAYES_00=-1.9, DKIM_SIGNED=0.1, DKIM_VALID=-0.1, DKIM_VALID_AU=-0.1, RP_MATCHES_RCVD=-1.287, SPF_PASS=-0.001, W3C_AA=-1, W3C_WL=-1
X-W3C-Scan-Sig: maggie.w3.org 1bNDrt-0003KQ-Jg e12b19c9d206a53710d13fd5ec5214a4
X-Original-To: ietf-http-wg@w3.org
Subject: Re: draft-ruellan-http-accept-push-policy-02 comments
Archived-At: <http://www.w3.org/mid/3B3B783B-DD69-4861-9865-46B511EC7D47@greenbytes.de>
Resent-From: ietf-http-wg@w3.org
X-Mailing-List: <ietf-http-wg@w3.org> archive/latest/31947
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>

> Am 13.07.2016 um 07:14 schrieb Martin Thomson <martin.thomson@gmail.com>:
> 
> I think that this is a promising avenue of exploration for server
> push.  Clients clearly don't have enough ways to influence how the
> server pushes content.
> 
> I'm almost tempted to suggest that it be made experimental rather than
> proposed standard.  We yet really understand how push is going to be
> deployed enough to settle on a sensible set of policies.  The set of
> policies in the document seem reasonable, but we won't know until they
> are deployed in a range of places.
> 
> I am also unconvinced by the use of two header fields.  The
> Accept-Push-Policy header field is the only one that seems to have a
> real use.  Knowing what the server understands is of relatively little
> use.  More so given the nebulous nature of what is pushed when you
> consider cache-digest and other improvements.
> 
>> From what I can see, the most direct response to seeing that a value
> isn't supported is that a client would omit the header (or values from
> it) on subsequent requests.  But there is no real harm in repetition,
> especially when you would probably save more bytes by leaving the
> header unchanged and relying on header compression.
> 
> I think that Accept-Push-Policy needs to have a different name.  Right
> now, it implies content negotiation, but it's a bit of a stretch for
> me to imagine using it in a Vary header field.  If you remove the
> server's use of Push-Policy, then that's a better name for the request
> header field.

+1

I implemented this draft in httpd, although I do not know of a client using it. I agree with Martin about the header rename/removal. Furthermore, the value of "fast-load" seems not very helpful while "none", "default" and "head" are very clear and lightweight to implement on a server. I'd be especially interested to learn if clients see use cases for "head" or have any plans of using this.

-Stefan