Re: ID for Immutable

Pete Wildsmith <pete@weargoggles.co.uk> Thu, 27 October 2016 00:02 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 D5AE0129880 for <ietfarch-httpbisa-archive-bis2Juki@ietfa.amsl.com>; Wed, 26 Oct 2016 17:02:14 -0700 (PDT)
X-Virus-Scanned: amavisd-new at amsl.com
X-Spam-Flag: NO
X-Spam-Score: -6.852
X-Spam-Level:
X-Spam-Status: No, score=-6.852 tagged_above=-999 required=5 tests=[BAYES_00=-1.9, DKIM_SIGNED=0.1, DKIM_VALID=-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, RCVD_IN_SORBS_SPAM=0.5, RP_MATCHES_RCVD=-0.431, SPF_HELO_PASS=-0.001, SPF_PASS=-0.001] autolearn=ham autolearn_force=no
Authentication-Results: ietfa.amsl.com (amavisd-new); dkim=pass (2048-bit key) header.d=weargoggles-co-uk.20150623.gappssmtp.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 CZ6ExzxdKuKa for <ietfarch-httpbisa-archive-bis2Juki@ietfa.amsl.com>; Wed, 26 Oct 2016 17:02:12 -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 05B10129464 for <httpbisa-archive-bis2Juki@lists.ietf.org>; Wed, 26 Oct 2016 17:02: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 1bzY4o-0005Gk-Bn for ietf-http-wg-dist@listhub.w3.org; Wed, 26 Oct 2016 23:57:46 +0000
Resent-Date: Wed, 26 Oct 2016 23:57:46 +0000
Resent-Message-Id: <E1bzY4o-0005Gk-Bn@frink.w3.org>
Received: from titan.w3.org ([128.30.52.76]) by frink.w3.org with esmtps (TLS1.2:RSA_AES_128_CBC_SHA1:128) (Exim 4.80) (envelope-from <pete@weargoggles.co.uk>) id 1bzY4j-0005Ef-PJ for ietf-http-wg@listhub.w3.org; Wed, 26 Oct 2016 23:57:41 +0000
Received: from mail-wm0-f52.google.com ([74.125.82.52]) by titan.w3.org with esmtps (TLS1.2:ECDHE_RSA_AES_128_GCM_SHA256:128) (Exim 4.84_2) (envelope-from <pete@weargoggles.co.uk>) id 1bzY4d-0005BD-L9 for ietf-http-wg@w3.org; Wed, 26 Oct 2016 23:57:36 +0000
Received: by mail-wm0-f52.google.com with SMTP id e69so219819wmg.0 for <ietf-http-wg@w3.org>; Wed, 26 Oct 2016 16:57:14 -0700 (PDT)
DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=weargoggles-co-uk.20150623.gappssmtp.com; s=20150623; h=from:content-transfer-encoding:mime-version:subject:date:references :to:in-reply-to:message-id; bh=HB9vSQVHf2H3wb8bIOqCiebkzc1Sna05VeBCwlIW97w=; b=XDJWo1GI2f0Hs8CRfUgwkzekTN8r6Y5t7gCsDh82MMX1FTNhBcSAVC3bbKLSBO/Ox+ W7k+yeVlS07uRTQt0E2qCA3u4B8ZVQl2L5rIkZRarDKH7isQ0cIaULUpBvABEmy2P7vu p85SYlTxjKmEsmjvJGHN4y5plmZCDHlAKTb8eQiK3yLJbdi7O88DQK4EcLEljxhjGs7e FzGbdTsV28zIC+IHjIuTAG3THZ21Sxn5JH/ZvyPDh65Jfo15NaPFtSe7y/HDC3WTcmrP nMP5dHlbDzhKZ4zZFOBwbdBhJm5ocKvaGFo+6T0+q6DaGanwhDIRtsSDkoX1adeAwxhh q+6w==
X-Google-DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=1e100.net; s=20130820; h=x-gm-message-state:from:content-transfer-encoding:mime-version :subject:date:references:to:in-reply-to:message-id; bh=HB9vSQVHf2H3wb8bIOqCiebkzc1Sna05VeBCwlIW97w=; b=aWBz4vTPf/x8SmEHOTjb0qNvHpuRr3ykaexRYgSGpvayMGEFY0Ziips0FveO7aRaP/ GGJvHNazdVvwDOKBqaHJJL5XvzrB6gEBroOpvTpDvTHZKzBicupFiCE21PRTeZHcQCFT vyongwUVkvvcut5AOBxH7pss1PWF4IKa0rHAElPsADxD2A9MbPjHGQRvQcq0xxharm9k 5i7SIFv6XAZBSGr6cmb1W9ZI3HPMsrHyVeyhSNNfHe3GlbI6avmTO5xG3O7PwuQaZnP/ w5jxMQFlfCdVRDMs/dflNOblwMqzjNacK4X7MksxW060W+J66hClXqW+NSEdU/FhVxCb +hhQ==
X-Gm-Message-State: ABUngvf3eOzzIN4ESADtG33IgJn5t9V+Uy2DWfOUbdNOnr8OA52ysUrf5J1uzc1Zl+NNXg==
X-Received: by 10.28.14.194 with SMTP id 185mr4652433wmo.89.1477526228391; Wed, 26 Oct 2016 16:57:08 -0700 (PDT)
Received: from [192.168.1.69] (host81-147-42-150.range81-147.btcentralplus.com. [81.147.42.150]) by smtp.gmail.com with ESMTPSA id r1sm5190602wjc.43.2016.10.26.16.57.07 for <ietf-http-wg@w3.org> (version=TLS1_2 cipher=ECDHE-RSA-AES128-GCM-SHA256 bits=128/128); Wed, 26 Oct 2016 16:57:07 -0700 (PDT)
From: Pete Wildsmith <pete@weargoggles.co.uk>
Content-Type: text/plain; charset="utf-8"
Content-Transfer-Encoding: quoted-printable
Mime-Version: 1.0 (Mac OS X Mail 10.0 \(3226\))
Date: Thu, 27 Oct 2016 00:57:06 +0100
References: <CAOdDvNqam930_0eA1p3yHW+xDdOm0AAMKvVKe6xwNwm1itpRpQ@mail.gmail.com>
To: ietf-http-wg@w3.org
In-Reply-To: <CAOdDvNqam930_0eA1p3yHW+xDdOm0AAMKvVKe6xwNwm1itpRpQ@mail.gmail.com>
Message-Id: <42BA6A75-AE2D-4C5E-A879-731D18EBB67B@weargoggles.co.uk>
X-Mailer: Apple Mail (2.3226)
Received-SPF: pass client-ip=74.125.82.52; envelope-from=pete@weargoggles.co.uk; helo=mail-wm0-f52.google.com
X-W3C-Hub-Spam-Status: No, score=-3.4
X-W3C-Hub-Spam-Report: BAYES_00=-1.9, DKIM_SIGNED=0.1, DKIM_VALID=-0.1, RCVD_IN_DNSWL_NONE=-0.0001, RCVD_IN_MSPIKE_H3=-0.01, RCVD_IN_MSPIKE_WL=-0.01, RCVD_IN_SORBS_SPAM=0.5, SPF_PASS=-0.001, W3C_AA=-1, W3C_WL=-1
X-W3C-Scan-Sig: titan.w3.org 1bzY4d-0005BD-L9 2825ff9f8d531cab5efbd6d96b2c48e3
X-Original-To: ietf-http-wg@w3.org
Subject: Re: ID for Immutable
Archived-At: <http://www.w3.org/mid/42BA6A75-AE2D-4C5E-A879-731D18EBB67B@weargoggles.co.uk>
Resent-From: ietf-http-wg@w3.org
X-Mailing-List: <ietf-http-wg@w3.org> archive/latest/32677
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>

Patrick,

the relevant section of RFC7234 suggests that conditional requests before the end of the freshness lifetime are made at the discretion of the cache.

> When a response is "fresh" in the cache, it can be used to satisfy subsequent requests without contacting the origin server, thereby improving efficiency.
https://tools.ietf.org/html/rfc7234#section-4.2

My understanding of your extension is that for responses with the extension, the implicit MAY in the quoted sentence would become a SHOULD or MUST.

This seems to conflict with user-agents’ reload behaviour. If all resources that are not expected to change during the lifetime of the resource begin using this extension, will it not become necessary for ‘reload’ to invoke a process which ignores the extension for the same reason that ‘max-age=0’ is now sent? 

Pete

> On 26 Oct 2016, at 22:02, Patrick McManus <pmcmanus@mozilla.com> wrote:
> 
> [as individual]
> 
> FYI
> 
> A new version of I-D, draft-mcmanus-immutable-00.txt
> has been successfully submitted by Patrick McManus and posted to the
> IETF repository.
> 
> Name:           draft-mcmanus-immutable
> Revision:       00
> Title:          HTTP Immutable Responses
> Document date:  2016-10-26
> Group:          Individual Submission
> Pages:          4
> URL:            https://www.ietf.org/internet-drafts/draft-mcmanus-immutable-00.txt
> Status:         https://datatracker.ietf.org/doc/draft-mcmanus-immutable/
> Htmlized:       https://tools.ietf.org/html/draft-mcmanus-immutable-00
> 
> 
> Abstract:
>    The immutable HTTP response Cache-Control extension allows servers to
>    identify resources that will not be updated during their freshness
>    lifetime.  This assures that a client never needs to revalidate a
>    cached fresh resource to be certain it has not been modified.
>