Re: dont-revalidate Cache-Control header

Ben Maurer <ben.maurer@gmail.com> Tue, 14 July 2015 12:39 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 (ietfa.amsl.com [127.0.0.1]) by ietfa.amsl.com (Postfix) with ESMTP id 2F1231A908F for <ietfarch-httpbisa-archive-bis2Juki@ietfa.amsl.com>; Tue, 14 Jul 2015 05:39:31 -0700 (PDT)
X-Virus-Scanned: amavisd-new at amsl.com
X-Spam-Flag: NO
X-Spam-Score: -7.011
X-Spam-Level:
X-Spam-Status: No, score=-7.011 tagged_above=-999 required=5 tests=[BAYES_00=-1.9, DKIM_SIGNED=0.1, DKIM_VALID=-0.1, DKIM_VALID_AU=-0.1, HTML_MESSAGE=0.001, RCVD_IN_DNSWL_HI=-5, SPF_HELO_PASS=-0.001, SPF_PASS=-0.001, T_RP_MATCHES_RCVD=-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 mvtsSY62jW3R for <ietfarch-httpbisa-archive-bis2Juki@ietfa.amsl.com>; Tue, 14 Jul 2015 05:39:29 -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 D2C021AC3B3 for <httpbisa-archive-bis2Juki@lists.ietf.org>; Tue, 14 Jul 2015 05:39:28 -0700 (PDT)
Received: from lists by frink.w3.org with local (Exim 4.80) (envelope-from <ietf-http-wg-request@listhub.w3.org>) id 1ZEzRz-0006aI-Jk for ietf-http-wg-dist@listhub.w3.org; Tue, 14 Jul 2015 12:36:43 +0000
Resent-Date: Tue, 14 Jul 2015 12:36:43 +0000
Resent-Message-Id: <E1ZEzRz-0006aI-Jk@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 <ben.maurer@gmail.com>) id 1ZEzRw-0006ZW-0Q for ietf-http-wg@listhub.w3.org; Tue, 14 Jul 2015 12:36:40 +0000
Received: from mail-lb0-f177.google.com ([209.85.217.177]) by lisa.w3.org with esmtps (TLS1.2:RSA_ARCFOUR_SHA1:128) (Exim 4.80) (envelope-from <ben.maurer@gmail.com>) id 1ZEzRu-0000He-0J for ietf-http-wg@w3.org; Tue, 14 Jul 2015 12:36:39 +0000
Received: by lbbyj8 with SMTP id yj8so5292857lbb.0 for <ietf-http-wg@w3.org>; Tue, 14 Jul 2015 05:36:11 -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:content-type; bh=QZc3RR41yyIu/ULuPJTeF4qgqcWNUDV4DJtY9zq6q8s=; b=CRnpvkMH0htx6Jcqqpw91wqWcDPdvbv5oKxm0F0MaYHgnO3Vzmmtd9O42qHxu26HHU HNjAPh7sp4VKeOTXUAn25Q361xs/OwWtAS+PZrfBqhAUP7jUegR1TyT1+UZ3wKLdw6ye mihOI1sO8nur83pMzgNEGz+dxlC5N19S0Et+yRy927UogAspSZGK5QYor7Xnusb9xCqQ mlygp2qOg1EL6iks12WtJ7gY6TkWvddnEu4MFguWw4pKeyZxJ6nsqBheVFSnNDuImnxL gHodebXZoI20oTresSYfLL33c5Nsb8FvrPwwaYunP8+/vjr1j8gVr0C3uuXLDIqZVwV+ 8oZg==
MIME-Version: 1.0
X-Received: by 10.152.246.37 with SMTP id xt5mr37287218lac.83.1436877371294; Tue, 14 Jul 2015 05:36:11 -0700 (PDT)
Received: by 10.25.163.147 with HTTP; Tue, 14 Jul 2015 05:36:11 -0700 (PDT)
In-Reply-To: <16407353-5C34-42E8-81A6-E0027EC3A0D0@mnot.net>
References: <CABgOVaLHBb4zcgvO4NUUmAzUjNkocBGYY3atFA9iuYyoLaLQsA@mail.gmail.com> <559F9E90.4020801@treenet.co.nz> <CABgOVaLG6QZyjqk2AGYupShST_u3ty9BpxUcPX+_yMEC1hyHAQ@mail.gmail.com> <961203FE-7E54-410F-923E-71C04914CD2E@mnot.net> <CABgOVaJxntEyT0v4GvWm0Qi9jbUPEnzxJgg4KyQSM1T_gN1mjQ@mail.gmail.com> <16407353-5C34-42E8-81A6-E0027EC3A0D0@mnot.net>
Date: Tue, 14 Jul 2015 13:36:11 +0100
Message-ID: <CABgOVa+C48yYp-ZkawY+Ho6pXONa_UfB0MVt_2+d0ejyESu2Pw@mail.gmail.com>
From: Ben Maurer <ben.maurer@gmail.com>
To: Mark Nottingham <mnot@mnot.net>
Cc: Amos Jeffries <squid3@treenet.co.nz>, HTTP Working Group <ietf-http-wg@w3.org>
Content-Type: multipart/alternative; boundary="001a113496d04d4bb7051ad51525"
Received-SPF: pass client-ip=209.85.217.177; envelope-from=ben.maurer@gmail.com; helo=mail-lb0-f177.google.com
X-W3C-Hub-Spam-Status: No, score=-5.6
X-W3C-Hub-Spam-Report: AWL=-0.883, BAYES_00=-1.9, DKIM_SIGNED=0.1, DKIM_VALID=-0.1, DKIM_VALID_AU=-0.1, FREEMAIL_FROM=0.001, HTML_MESSAGE=0.001, RCVD_IN_DNSWL_LOW=-0.7, SPF_PASS=-0.001, W3C_AA=-1, W3C_WL=-1
X-W3C-Scan-Sig: lisa.w3.org 1ZEzRu-0000He-0J c6926619fe778c959e8ef3b5f7a3f161
X-Original-To: ietf-http-wg@w3.org
Subject: Re: dont-revalidate Cache-Control header
Archived-At: <http://www.w3.org/mid/CABgOVa+C48yYp-ZkawY+Ho6pXONa_UfB0MVt_2+d0ejyESu2Pw@mail.gmail.com>
Resent-From: ietf-http-wg@w3.org
X-Mailing-List: <ietf-http-wg@w3.org> archive/latest/29954
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 Tue, Jul 14, 2015 at 1:01 PM, Mark Nottingham <mnot@mnot.net> wrote:

> From time to time, we've had people ask for "Cache-Control:
> Infinity-I-really-will-never-change-this." I suspect that often they don't
> understand how caches work, and that assigning a one-year lifetime is more
> than adequate for this purpose, but nevertheless, we could define that so
> that it worked and gave you the semantics you want too.
>
> To keep it backwards compatible, you'd need something like:
>
> Cache-Control: max-age=31536000, static
>
> (or whatever we call it)
>

Static is a fairly reasonable name. Static does imply that the resource
will *never* be revalidated (ever) vs the dont-reload which implies no
revalidations prior to expiration. I don't have any preferences between the
two but wanted to call that out.

What's the next step here?