Re: Acknowledging pushed content

Martin Thomson <martin.thomson@gmail.com> Fri, 08 April 2016 17:36 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 AC22C12D0E4 for <ietfarch-httpbisa-archive-bis2Juki@ietfa.amsl.com>; Fri, 8 Apr 2016 10:36:19 -0700 (PDT)
X-Virus-Scanned: amavisd-new at amsl.com
X-Spam-Flag: NO
X-Spam-Score: -7.031
X-Spam-Level:
X-Spam-Status: No, score=-7.031 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, SPF_HELO_PASS=-0.001, SPF_PASS=-0.001, T_RP_MATCHES_RCVD=-0.01] autolearn=ham autolearn_force=no
Authentication-Results: ietfa.amsl.com (amavisd-new); dkim=pass (2048-bit key) header.d=gmail.com
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 OKzamDe28R_m for <ietfarch-httpbisa-archive-bis2Juki@ietfa.amsl.com>; Fri, 8 Apr 2016 10:36:16 -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 C0CFC12D972 for <httpbisa-archive-bis2Juki@lists.ietf.org>; Fri, 8 Apr 2016 10:36:09 -0700 (PDT)
Received: from lists by frink.w3.org with local (Exim 4.80) (envelope-from <ietf-http-wg-request@listhub.w3.org>) id 1aoaF1-0007qP-Vu for ietf-http-wg-dist@listhub.w3.org; Fri, 08 Apr 2016 17:30:44 +0000
Resent-Date: Fri, 08 Apr 2016 17:30:43 +0000
Resent-Message-Id: <E1aoaF1-0007qP-Vu@frink.w3.org>
Received: from lisa.w3.org ([128.30.52.41]) by frink.w3.org with esmtps (TLS1.2:DHE_RSA_AES_128_CBC_SHA1:128) (Exim 4.80) (envelope-from <martin.thomson@gmail.com>) id 1aoaEw-00072I-29 for ietf-http-wg@listhub.w3.org; Fri, 08 Apr 2016 17:30:38 +0000
Received: from mail-io0-f175.google.com ([209.85.223.175]) by lisa.w3.org with esmtps (TLS1.2:RSA_ARCFOUR_SHA1:128) (Exim 4.80) (envelope-from <martin.thomson@gmail.com>) id 1aoaEs-0008OG-VI for ietf-http-wg@w3.org; Fri, 08 Apr 2016 17:30:37 +0000
Received: by mail-io0-f175.google.com with SMTP id g185so139897680ioa.2 for <ietf-http-wg@w3.org>; Fri, 08 Apr 2016 10:30:14 -0700 (PDT)
DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=gmail.com; s=20120113; h=mime-version:in-reply-to:references:date:message-id:subject:from:to :cc; bh=LSqLyLGel3Jy27sSD7vOlG0ArUQu0PKyFkR3FBZA9ig=; b=Pvd9OYNs7w646nrLXXD7VE8kZ+uNEioeaTHk1vfIAjapueXByIviQvOU+FD5tidnO5 317dODvz9IB4VASnqxj5NqnkjrcK0qw50xOQJqHTtexskfjDs+5UISsthFZh43aWSHKh qJyk18UmyooX8WHsDQQIncTtyzmcpaUlkxgDIKToDT47s/a9xN3dELIj1dfOBCLCQkSH jzbh21j87wjcupGlvC7JseYhOUWNXy/vKB+h9h4AaWaQJ1GJUPbzl6ca6HzHYnHXZcMD sK2ufbccBdcVDpR1gR1jJKzxMb/6KQHsUkZt5DzPx0qyZUfZV0V/TwZOKR+npOKa/iE9 KGLw==
X-Google-DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=1e100.net; s=20130820; h=x-gm-message-state:mime-version:in-reply-to:references:date :message-id:subject:from:to:cc; bh=LSqLyLGel3Jy27sSD7vOlG0ArUQu0PKyFkR3FBZA9ig=; b=aWnZ8WgtW5A3VuGJ2dy7EBSldrli3SDTgKI3Z95VRviGgb8Y3rU7avvYtQjegvqE6t r0Hw7SOGOxwNDRNgRuobM9P/MDfIAeHOxeqqBi/P8CStCkj+JhTeWq48nZnuURNdSvpy wYI/7MjNVEn8Jyj9wQdwZWSJh3uJ8MYi6j/do24+gV01AbuK4XlRmkFruBVN4qz/Ndxw d6XQH2Wv9++xMJewEK16oGg/5VVM3TMWPyK+sSpweaAodhaqZty/UnCZVH6FDG1hpjf4 Q0Nre5oKz/UTM/XsGKFQTaRee9W2n3+N/FbBePfIW3x45CRbT+0uDd51QSTIZ4CJsTrO CVzA==
X-Gm-Message-State: AD7BkJKREv1J64bp9z8fWNIASZqCIim5eEqORsV4maYfV08lcOP7IPYp6kkqDwmUt+A0iHRYkt1T2307lXlvxA==
MIME-Version: 1.0
X-Received: by 10.107.34.139 with SMTP id i133mr9897765ioi.108.1460136608629; Fri, 08 Apr 2016 10:30:08 -0700 (PDT)
Received: by 10.36.43.5 with HTTP; Fri, 8 Apr 2016 10:30:08 -0700 (PDT)
In-Reply-To: <CAPofZaHBm1dJe9cs83NJLEdOOXkeA9mfzZz6qJA0tYASOSb4ag@mail.gmail.com>
References: <CAPofZaHaZsevMoJ4ZzoONS2hp4BSEb2ykrkvz_a0ejGuoR3YOA@mail.gmail.com> <CAPofZaHoJ2QQth5Zo9dOzUL374Q+m2ftLHrpwHbGT99Ze2Ut_g@mail.gmail.com> <CAPofZaFfd+wWa9hbEZcfB43cREUHSTma5kPHXs4+c9D2j+O-1A@mail.gmail.com> <CAPofZaGgN-Wrri=3gT+PNZOtEbdDZi0hdbxtFF1_gV_a6m7Ffg@mail.gmail.com> <CAPofZaFg+-Dwcw_nEaO-bUXU-OcAeAxgOF4TLx6=V3vAo_aJxQ@mail.gmail.com> <CAPofZaF3OVk8TY8_=3fuBLyDTb8yDLTfjjkpe-zwrGZhiMfCxA@mail.gmail.com> <CAPofZaGW0xrrO+L2TMFR6xkp6V3FyB74h6OEv5wTwEmAPWucDQ@mail.gmail.com> <CAPofZaEn_xmfy1-vKqKUy+v30VfD6fCxU=np9v5BhH_g1w3erQ@mail.gmail.com> <CAPofZaGtepmHJpLKBe=45X-TJqrnb-B3Ww+aFbXU0VX0unMUFg@mail.gmail.com> <CAPofZaGHz7pA7=NkBAdNVWpg7Uat57BvKNVCADjYKkb14J7LOQ@mail.gmail.com> <CABkgnnWaBz=keqwBZ-XsuJ_nfyw6hv=Z-FWUqZov41js_WX19A@mail.gmail.com> <CAPofZaHBm1dJe9cs83NJLEdOOXkeA9mfzZz6qJA0tYASOSb4ag@mail.gmail.com>
Date: Fri, 08 Apr 2016 14:30:08 -0300
Message-ID: <CABkgnnXG1z-hhP7R+_T+=KLK6XAqy7ZW+dVy8r5fFCb3neD=bw@mail.gmail.com>
From: Martin Thomson <martin.thomson@gmail.com>
To: Phil Lello <phil@dunlop-lello.uk>
Cc: HTTP Working Group <ietf-http-wg@w3.org>
Content-Type: text/plain; charset="UTF-8"
Received-SPF: pass client-ip=209.85.223.175; envelope-from=martin.thomson@gmail.com; helo=mail-io0-f175.google.com
X-W3C-Hub-Spam-Status: No, score=-7.9
X-W3C-Hub-Spam-Report: AWL=1.834, BAYES_00=-1.9, DKIM_SIGNED=0.1, DKIM_VALID=-0.1, DKIM_VALID_AU=-0.1, FREEMAIL_FROM=0.001, RCVD_IN_DNSWL_LOW=-0.7, SPF_PASS=-0.001, W3C_AA=-1, W3C_DB=-1, W3C_IRA=-1, W3C_IRR=-3, W3C_WL=-1
X-W3C-Scan-Sig: lisa.w3.org 1aoaEs-0008OG-VI b9999015c384b92b4a4908df26d31ca9
X-Original-To: ietf-http-wg@w3.org
Subject: Re: Acknowledging pushed content
Archived-At: <http://www.w3.org/mid/CABkgnnXG1z-hhP7R+_T+=KLK6XAqy7ZW+dVy8r5fFCb3neD=bw@mail.gmail.com>
Resent-From: ietf-http-wg@w3.org
X-Mailing-List: <ietf-http-wg@w3.org> archive/latest/31395
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 8 April 2016 at 13:00, Phil Lello <phil@dunlop-lello.uk> wrote:
> In both a traditional desktop browser environment and server-to-server web
> services, paging is often used when dealing with a set of results. To
> optimise responsiveness, a server could send page 1 and push page 2. The
> objective here is to tell the server when page 2 is requested by the client
> so that it can prepare/push page 3. In a browser environment, this could be
> implemented with client-side application logic, but DELETE seems like the
> wrong action. In a server-to-server environment for a public webservice,
> where there will be multiple client implementation, it seems better to
> handle this with a 'push-consumed' frame at the HTTP/2 level, so a server
> can try to keep pipelines full for clients without changing
> application-level semantics.

I don't see any way around the problem here.  The consumption of the
resource is not what you are looking to trigger on; that could occur
long before the navigation happens.  The event of interest exists at
the application layer.  Use an application layer mechanism.