Re: Server Push, Alt-Svc and connection switching

Daniel Stenberg <daniel@haxx.se> Thu, 17 October 2019 17:47 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 A5D47120B61 for <ietfarch-httpbisa-archive-bis2Juki@ietfa.amsl.com>; Thu, 17 Oct 2019 10:47:14 -0700 (PDT)
X-Virus-Scanned: amavisd-new at amsl.com
X-Spam-Flag: NO
X-Spam-Score: -2.65
X-Spam-Level:
X-Spam-Status: No, score=-2.65 tagged_above=-999 required=5 tests=[BAYES_00=-1.9, HEADER_FROM_DIFFERENT_DOMAINS=0.25, MAILING_LIST_MULTI=-1, SPF_PASS=-0.001, URIBL_BLOCKED=0.001] autolearn=ham autolearn_force=no
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 CyA63sQwfJUL for <ietfarch-httpbisa-archive-bis2Juki@ietfa.amsl.com>; Thu, 17 Oct 2019 10:47:12 -0700 (PDT)
Received: from frink.w3.org (frink.w3.org [IPv6:2603:400a:ffff:804:801e:34:0:38]) (using TLSv1.2 with cipher ECDHE-RSA-AES256-GCM-SHA384 (256/256 bits)) (No client certificate requested) by ietfa.amsl.com (Postfix) with ESMTPS id A4C8312093F for <httpbisa-archive-bis2Juki@lists.ietf.org>; Thu, 17 Oct 2019 10:47:12 -0700 (PDT)
Received: from lists by frink.w3.org with local (Exim 4.89) (envelope-from <ietf-http-wg-request@listhub.w3.org>) id 1iL9pF-0005rg-5o for ietf-http-wg-dist@listhub.w3.org; Thu, 17 Oct 2019 17:44:37 +0000
Resent-Date: Thu, 17 Oct 2019 17:44:37 +0000
Resent-Message-Id: <E1iL9pF-0005rg-5o@frink.w3.org>
Received: from titan.w3.org ([2603:400a:ffff:804:801e:34:0:4c]) by frink.w3.org with esmtps (TLS1.2:ECDHE_RSA_AES_256_GCM_SHA384:256) (Exim 4.89) (envelope-from <daniel@haxx.se>) id 1iL9pD-0005qu-FV for ietf-http-wg@listhub.w3.org; Thu, 17 Oct 2019 17:44:35 +0000
Received: from www.haxx.se ([2a00:1a28:1200:9::2] helo=giant.haxx.se) by titan.w3.org with esmtps (TLS1.2:ECDHE_RSA_AES_256_GCM_SHA384:256) (Exim 4.92) (envelope-from <daniel@haxx.se>) id 1iL9pB-0000uE-A5 for ietf-http-wg@w3.org; Thu, 17 Oct 2019 17:44:34 +0000
Received: from giant.haxx.se (mail [127.0.0.1]) by giant.haxx.se (8.15.2/8.15.2/Debian-4) with ESMTPS id x9HHiQiq005743 (version=TLSv1.2 cipher=ECDHE-RSA-AES256-GCM-SHA384 bits=256 verify=NOT); Thu, 17 Oct 2019 19:44:26 +0200
Received: from localhost (dast@localhost) by giant.haxx.se (8.15.2/8.15.2/Submit) with ESMTP id x9HHiQOo005737; Thu, 17 Oct 2019 19:44:26 +0200
X-Authentication-Warning: giant.haxx.se: dast owned process doing -bs
Date: Thu, 17 Oct 2019 19:44:26 +0200
From: Daniel Stenberg <daniel@haxx.se>
X-X-Sender: dast@giant.haxx.se
To: Ryan Hamilton <rch@google.com>
cc: Lucas Pardue <lucaspardue.24.7@gmail.com>, HTTP Working Group <ietf-http-wg@w3.org>
In-Reply-To: <CAJ_4DfTKLUs+e6PrNY8Rn0y6YayTVGYKG=kLdNBBKRmRHJX4BQ@mail.gmail.com>
Message-ID: <alpine.DEB.2.20.1910171941420.18477@tvnag.unkk.fr>
References: <CALGR9oY_zT0rnoh2TdrfsxNjhx2uNv3y21Mqmt9DPQ8CPdpx+Q@mail.gmail.com> <CAJ_4DfTKLUs+e6PrNY8Rn0y6YayTVGYKG=kLdNBBKRmRHJX4BQ@mail.gmail.com>
User-Agent: Alpine 2.20 (DEB 67 2015-01-07)
X-fromdanielhimself: yes
MIME-Version: 1.0
Content-Type: text/plain; charset="US-ASCII"; format="flowed"
Received-SPF: pass client-ip=2a00:1a28:1200:9::2; envelope-from=daniel@haxx.se; helo=giant.haxx.se
X-W3C-Hub-Spam-Status: No, score=-6.2
X-W3C-Hub-Spam-Report: BAYES_00=-1.9, RCVD_IN_DNSWL_MED=-2.3, SPF_HELO_NONE=0.001, SPF_PASS=-0.001, W3C_AA=-1, W3C_WL=-1
X-W3C-Scan-Sig: titan.w3.org 1iL9pB-0000uE-A5 56d7569a2fda29125b5eae8aef410303
X-Original-To: ietf-http-wg@w3.org
Subject: Re: Server Push, Alt-Svc and connection switching
Archived-At: <https://www.w3.org/mid/alpine.DEB.2.20.1910171941420.18477@tvnag.unkk.fr>
Resent-From: ietf-http-wg@w3.org
X-Mailing-List: <ietf-http-wg@w3.org> archive/latest/37061
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: <https://www.w3.org/Mail/>
List-Post: <mailto:ietf-http-wg@w3.org>
List-Unsubscribe: <mailto:ietf-http-wg-request@w3.org?subject=unsubscribe>

On Thu, 17 Oct 2019, Ryan Hamilton wrote:

> I think that the browser *should* be able to use the pushed resources 
> regardless of the connection that was used to push them. In your example, 
> even though the receipt of the alt-svc header might result in the creation 
> of an h3 connection, the browser *should* still be able to find the h2 
> pushes.

If the client uses a "push cache", I think it makes sense for that cache to 
work across HTTP/2 and HTTP/3 since otherwise the upgrade itself risk wasting 
resources that were already pushed to the client. It would also otherwise risk 
the same thing if the client deems it needs to fallback to h2 after having 
received pushed resources over h3...

-- 

  / daniel.haxx.se