Re: Push and Caching
Michael Sweet <msweet@apple.com> Tue, 26 August 2014 20:05 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 (ietfa.amsl.com [127.0.0.1]) by ietfa.amsl.com (Postfix) with ESMTP id 6A59E1A87BC for <ietfarch-httpbisa-archive-bis2Juki@ietfa.amsl.com>; Tue, 26 Aug 2014 13:05:31 -0700 (PDT)
X-Virus-Scanned: amavisd-new at amsl.com
X-Spam-Flag: NO
X-Spam-Score: -7.46
X-Spam-Level:
X-Spam-Status: No, score=-7.46 tagged_above=-999 required=5 tests=[BAYES_00=-1.9, DKIM_SIGNED=0.1, RCVD_IN_DNSWL_HI=-5, RP_MATCHES_RCVD=-0.668, SPF_HELO_PASS=-0.001, SPF_PASS=-0.001, T_DKIM_INVALID=0.01] autolearn=ham
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 Aw9GJAPkPnE9 for <ietfarch-httpbisa-archive-bis2Juki@ietfa.amsl.com>; Tue, 26 Aug 2014 13:05:29 -0700 (PDT)
Received: from frink.w3.org (frink.w3.org [128.30.52.56]) (using TLSv1 with cipher AES256-SHA (256/256 bits)) (No client certificate requested) by ietfa.amsl.com (Postfix) with ESMTPS id 57AC71A87AE for <httpbisa-archive-bis2Juki@lists.ietf.org>; Tue, 26 Aug 2014 13:05:22 -0700 (PDT)
Received: from lists by frink.w3.org with local (Exim 4.72) (envelope-from <ietf-http-wg-request@listhub.w3.org>) id 1XMMwe-0000ks-G6 for ietf-http-wg-dist@listhub.w3.org; Tue, 26 Aug 2014 20:02:20 +0000
Resent-Date: Tue, 26 Aug 2014 20:02:20 +0000
Resent-Message-Id: <E1XMMwe-0000ks-G6@frink.w3.org>
Received: from lisa.w3.org ([128.30.52.41]) by frink.w3.org with esmtp (Exim 4.72) (envelope-from <msweet@apple.com>) id 1XMMwJ-0000iv-Vb for ietf-http-wg@listhub.w3.org; Tue, 26 Aug 2014 20:01:59 +0000
Received: from mail-out4.apple.com ([17.151.62.26] helo=mail-in4.apple.com) by lisa.w3.org with esmtps (TLS1.0:DHE_RSA_AES_256_CBC_SHA1:32) (Exim 4.72) (envelope-from <msweet@apple.com>) id 1XMMwI-0001qV-Ok for ietf-http-wg@w3.org; Tue, 26 Aug 2014 20:01:59 +0000
DKIM-Signature: v=1; a=rsa-sha256; d=apple.com; s=mailout2048s; c=relaxed/simple; q=dns/txt; i=@apple.com; t=1409083291; x=2272996891; h=From:Sender:Reply-To:Subject:Date:Message-id:To:Cc:MIME-version:Content-type: Content-transfer-encoding:Content-ID:Content-Description:Resent-Date:Resent-From: Resent-Sender:Resent-To:Resent-Cc:Resent-Message-ID:In-reply-to:References:List-Id: List-Help:List-Unsubscribe:List-Subscribe:List-Post:List-Owner:List-Archive; bh=dTLnN5M6aar05Ryx+IbsrhnjPmrJXg9AMEXKY7k2AhM=; b=21qR2NycYAVYA94sKDjnhinirDG75H1tNH9I+wRFFwCVCSYXL/2nyjObY17FgJ2j KONiLGT3yxmnw6H8th+BPrrf724Jcot+eOPF2SUNb+NLQjcMAxlgj/0GJWYCNPhE PKcU7cQKxA9+sFc6gdvKxv4MD1flOVAbS99RE+eOxbIMX09df4oF4SdC+ziwmnp8 rY6DeNc3mY88bUhyOVQFoo8H/h4g9OdMpvvqzlgwASSIukhQc4i72v3wM5XT+pq6 LGFAzsSK1NmYpCzPH8EkG7Q+lpbRvxQTd5h7803fPwhENIuv6D3zbOgJrye9xMOS CxQ7jregtjgyu/MdFQCx3Q==;
Received: from mail-out.apple.com (crispin.apple.com [17.151.62.50]) (using TLS with cipher RC4-MD5 (128/128 bits)) (Client did not present a certificate) by mail-in4.apple.com (Apple Secure Mail Relay) with SMTP id F2.FA.13232.B97ECF35; Tue, 26 Aug 2014 13:01:31 -0700 (PDT)
MIME-version: 1.0
Content-transfer-encoding: 7bit
Content-type: text/plain; CHARSET="US-ASCII"
Received: from relay5.apple.com ([17.128.113.88]) by local.mail-out.apple.com (Oracle Communications Messaging Server 7.0.5.30.0 64bit (built Oct 22 2013)) with ESMTP id <0NAX00L2YJL64HE1@local.mail-out.apple.com> for ietf-http-wg@w3.org; Tue, 26 Aug 2014 13:01:31 -0700 (PDT)
X-AuditID: 11973e12-f795b6d0000033b0-14-53fce79b6eaa
Received: from aniseed.apple.com (aniseed.apple.com [17.128.115.23]) (using TLS with cipher RC4-MD5 (128/128 bits)) (Client did not present a certificate) by relay5.apple.com (Apple SCV relay) with SMTP id 92.BB.31858.C97ECF35; Tue, 26 Aug 2014 13:01:32 -0700 (PDT)
Received: from [17.153.54.67] by aniseed.apple.com (Oracle Communications Messaging Server 7.0.5.30.0 64bit (built Oct 22 2013)) with ESMTPSA id <0NAX007N9JL90240@aniseed.apple.com> for ietf-http-wg@w3.org; Tue, 26 Aug 2014 13:01:31 -0700 (PDT)
Sun-Java-System-SMTP-Warning: Lines longer than SMTP allows found and truncated.
From: Michael Sweet <msweet@apple.com>
In-reply-to: <CABkgnnWssBqVw+aSb_8y80JBRWkQ8H+MPvmYZ7MyzOkYUQwWTQ@mail.gmail.com>
Date: Tue, 26 Aug 2014 16:00:40 -0400
Cc: "Roy T. Fielding" <fielding@gbiv.com>, Mark Nottingham <mnot@mnot.net>, HTTP Working Group <ietf-http-wg@w3.org>
Message-id: <E0DBB805-85A5-443B-BDCE-97E967460B47@apple.com>
References: <dc3d860ecb4b4d408a5ed0519a036e61@BL2PR03MB132.namprd03.prod.outlook.com> <CABkgnnWvKgyDcm-1jEKZUA2Qza9M46X+X_QybwuqRwvSUrTjNw@mail.gmail.com> <B6B89855-237F-44DA-B29C-2A3BB5CE0EED@mnot.net> <920b92b90a3c47ef8d450c903b83af40@DM2PR05MB670.namprd05.prod.outlook.com> <d94a3acceb954583a61b0118381df417@BL2PR03MB132.namprd03.prod.outlook.com> <CAOdDvNpa5WR4LJbsgQaBE3bTSAc+gXfYqCmV+zmUzE5b7+1a9A@mail.gmail.com> <CECA0C1A-E64C-443A-87AF-22BC66286F72@mnot.net> <CABkgnnXVJA3R4qhc__k4j+_LzeS7B24VxfCZwBSfywepEx=tKA@mail.gmail.com> <40d03e3bb1df480e808e64fa29048880@BL2PR03MB132.namprd03.prod.outlook.com> <CABkgnnX-0X+JZfFYhm18b=bLidaq_pqN5s-K0NBS28m-s6+9Kg@mail.gmail.com> <233C8C21-BF80-4E07-9717-56630085E192@mnot.net> <CABkgnnW9Uq5R1KvuTXuT=xUdX_pVWikyAOMp=ixJe+c0NRs4Lg@mail.gmail.com> <CAH_y2NHV_966DSX4yX-=tfDPUkk-obCXFbJnPifQpFb1KFjYDg@mail.gmail.com> <7d2fdc975fec4646b21e86620a834e72@DM2PR05MB670.namprd05.prod.outlook.com> <2C38B85E-7290-4AE3-A886-12A329DE449C@mnot.net> <CACweHNAx@apple.com>
To: Martin Thomson <martin.thomson@gmail.com>
X-Mailer: Apple Mail (2.1878.6)
X-Brightmail-Tracker: H4sIAAAAAAAAA+NgFjrBLMWRmVeSWpSXmKPExsUiON3OSHf28z/BBr8/K1kcbpnF5MDocXTe ftYAxigum5TUnMyy1CJ9uwSujFXfO1kLXvNX/Hj7laWB8T5PFyMnh4SAicSS6b+ZIGwxiQv3 1rN1MXJxCAnMZJJ4df0EG0iCV0BQ4sfkeyxdjBwczALyEgfPy4KEmQW0JL4/amWBqJ/FJNFz 8CU7SA3I0KYT2RDxfiaJA9NWMkM4vxglHrc+ZwTpFhYIkPjUuA9sqLCArMS5XbUgYTYBNYnf k/pYQWxOgWCJu++3sIPYLAKqEtvvL2aHWFwmMfXVOhaI22wkrl44yAS1jEPi47nDYEeLCOhK LDr7gB3iM3mJDx+OQ9n/WSXeTBKcwCg6C8lvsxB+m4XktwWMzKsYhXITM3N0M/NM9BILCnJS 9ZLzczcxQoJeaAfjqVVWhxgFOBiVeHg9Fv8JFmJNLCuuzD3EKM3BoiTOO6sBKCSQnliSmp2a WpBaFF9UmpNafIiRiYNTqoFxyu+NDA/Wt5wVPFnUtnrjkqOZjALKrK6uIWudNti1Wy067K+i v7wu6OVM44g52izTZ2+d+rHtpIb/avns85tT3IpLngamJr9ZWLNDy3ideq39RqawBewHsuvT /TYbX5vY8XhzaNX0j3Fz5kR+0XsxeXbcK5HMHoUJlu97a69KbV037Xjf/2OiSizFGYmGWsxF xYkArAuvhVsCAAA=
X-Brightmail-Tracker: H4sIAAAAAAAAA+NgFtrALMWRmVeSWpSXmKPExsUi2FAsrjvn+Z9gg9//uS0Ot8xicmD0ODpv P2sAYxSXTUpqTmZZapG+XQJXRvubKywFPQIVP06ZNDD+4Oli5OCQEDCRaDqR3cXICWSKSVy4 t56ti5GLQ0ign0liz5qNUM4vRonHrc8ZQaqEBQIkPjXuYwFpFhaQlTi3qxYkzCtgIPHq52Nm EJtZQEti/c7jTCA2m4CaxO9JfawgNqdAsMTd91vYQWwWAVWJ7fcXs0PUl0lMfbWOBcLWlnjy 7gIrxEwbiasXDjJBHcQh8fHcYTaQhIiArsSisw/YIa6Wl/jw4Tj7BEbBWUjumIXkjllI5i5g ZF7FKFCUmpNYaaqXWFCQk6qXnJ+7iREcjoUROxj/L7M6xCjAwajEw+ux+E+wEGtiWXFl7iFG CQ5mJRHeH0lAId6UxMqq1KL8+KLSnNTiQ4zSHCxK4rwLb/8OFhJITyxJzU5NLUgtgskycXBK NTCmfj5ieUYikdvhW15S5dISvQe7fnbdFlLauOijl4rMww0tS46bWURFnWOLMCxc+1F25ow5 HMnPOVgS+C3POz1MsX1+ZUnCdaal/+N2q77cLsO/sOGzsENOk9x0a+3jy+41LDCO3Lg6cmdC ufCcLYkR0Wf/ChltXSAWP9G37tnO5SYld7M/OfEqsRRnJBpqMRcVJwIA5pKUhEMCAAA=
Received-SPF: pass client-ip=17.151.62.26; envelope-from=msweet@apple.com; helo=mail-in4.apple.com
X-W3C-Hub-Spam-Status: No, score=-4.2
X-W3C-Hub-Spam-Report: AWL=-2.012, DKIM_SIGNED=0.1, RCVD_IN_DNSWL_MED=-2.3, RP_MATCHES_RCVD=0.001, SPF_PASS=-0.001, T_DKIM_INVALID=0.01
X-W3C-Scan-Sig: lisa.w3.org 1XMMwI-0001qV-Ok 460039b24a9c465c0ce517f9c5c86769
X-Original-To: ietf-http-wg@w3.org
Subject: Re: Push and Caching
Archived-At: <http://www.w3.org/mid/E0DBB805-85A5-443B-BDCE-97E967460B47@apple.com>
Resent-From: ietf-http-wg@w3.org
X-Mailing-List: <ietf-http-wg@w3.org> archive/latest/26746
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>
Push has always been talked about in the context of a server pushing data that the client would need to GET anyways, so why shouldn't we just use the same cache semantics for both a GET response and an pushed response? On Aug 26, 2014, at 2:37 PM, Martin Thomson <martin.thomson@gmail.com> wrote: > On 26 August 2014 09:59, Roy T. Fielding <fielding@gbiv.com> wrote: >> "A recipient cache SHOULD consider a pushed response to be valid for the >> duration of the connection (or until it is replaced during that connection) >> even if the pushed response contains cache directives that would normally >> indicate that the response is immediately stale." > > Given the long-lived nature of HTTP/2 connections is this really the > right bound on validity? It's not as though the server is guaranteed > an opportunity to replace/invalidate the response. > > I'm a little leery of implying something about regular response > validity in this context. I couldn't find anything concrete in RFC > 7234 about the period over which a response can be considered valid > once it arrives at the client. The best I could find was: "A cache > need not validate a response that merely became stale in transit." > > If anything 7234 uses validation in the instantaneous sense > exclusively. Freshness seems to be the only concept that is > associated with a time period, but we're carefully avoiding that here. > This, to my reading, is breaking new ground. And people are right to > notice the prefetch and request combining features as having > interactions with this, even though those seem to be confined to web > use cases. > > I don't think that this is a defect of RFC 7234, but it's an issue > that I'd prefer to see addressed more comprehensively than just for > push. > > ...and that's mainly why I suggested the "at the time that the > response is generated". > _________________________________________________________ Michael Sweet, Senior Printing System Engineer, PWG Chair
- Push and Caching Mike Bishop
- Re: Push and Caching Martin Thomson
- Re: Push and Caching Greg Wilkins
- Re: Push and Caching Martin Thomson
- Re: Push and Caching Mark Nottingham
- RE: Push and Caching William Chow
- RE: Push and Caching Mike Bishop
- Re: Push and Caching Patrick McManus
- Re: Push and Caching Mark Nottingham
- Re: Push and Caching Martin Thomson
- RE: Push and Caching Mike Bishop
- Re: Push and Caching Martin Thomson
- RE: Push and Caching Mike Bishop
- Re: Push and Caching Mark Nottingham
- Re: Push and Caching Greg Wilkins
- Re: Push and Caching Mark Nottingham
- Re: Push and Caching Mark Nottingham
- Re: Push and Caching Martin Thomson
- Re: Push and Caching Mark Nottingham
- Re: Push and Caching Martin Thomson
- Re: Push and Caching Mark Nottingham
- Re: Push and Caching Greg Wilkins
- RE: Push and Caching William Chow
- Re: Push and Caching Mark Nottingham
- RE: Push and Caching William Chow
- Re: Push and Caching Matthew Kerwin
- Re: Push and Caching Mark Nottingham
- Re: Push and Caching Chris Drechsler
- Re: Push and Caching Roy T. Fielding
- Re: Push and Caching Roy T. Fielding
- Re: Push and Caching Martin Thomson
- Re: Push and Caching Roy T. Fielding
- Re: Push and Caching Michael Sweet
- RE: Push and Caching William Chow
- Re: Push and Caching Martin Thomson
- Re: Push and Caching Martin Thomson
- Re: Push and Caching Roy T. Fielding
- RE: Push and Caching William Chow
- Re: Push and Caching Greg Wilkins
- Re: Push and Caching Greg Wilkins
- Re: Push and Caching Martin Thomson
- Re: Push and Caching Greg Wilkins