Re: dont-revalidate Cache-Control header

Martin Thomson <martin.thomson@gmail.com> Thu, 16 July 2015 18:35 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 06C9B1B2D03 for <ietfarch-httpbisa-archive-bis2Juki@ietfa.amsl.com>; Thu, 16 Jul 2015 11:35:23 -0700 (PDT)
X-Virus-Scanned: amavisd-new at amsl.com
X-Spam-Flag: NO
X-Spam-Score: -7.012
X-Spam-Level:
X-Spam-Status: No, score=-7.012 tagged_above=-999 required=5 tests=[BAYES_00=-1.9, DKIM_SIGNED=0.1, DKIM_VALID=-0.1, DKIM_VALID_AU=-0.1, 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 G3-DM06WS_vo for <ietfarch-httpbisa-archive-bis2Juki@ietfa.amsl.com>; Thu, 16 Jul 2015 11:35:21 -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 672B41B2DBA for <httpbisa-archive-bis2Juki@lists.ietf.org>; Thu, 16 Jul 2015 11:35:21 -0700 (PDT)
Received: from lists by frink.w3.org with local (Exim 4.80) (envelope-from <ietf-http-wg-request@listhub.w3.org>) id 1ZFnxb-0002Jf-0N for ietf-http-wg-dist@listhub.w3.org; Thu, 16 Jul 2015 18:32:43 +0000
Resent-Date: Thu, 16 Jul 2015 18:32:43 +0000
Resent-Message-Id: <E1ZFnxb-0002Jf-0N@frink.w3.org>
Received: from maggie.w3.org ([128.30.52.39]) 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 1ZFnxX-0002It-N8 for ietf-http-wg@listhub.w3.org; Thu, 16 Jul 2015 18:32:39 +0000
Received: from mail-yk0-f181.google.com ([209.85.160.181]) by maggie.w3.org with esmtps (TLS1.2:RSA_ARCFOUR_SHA1:128) (Exim 4.80) (envelope-from <martin.thomson@gmail.com>) id 1ZFnxW-0005pv-0d for ietf-http-wg@w3.org; Thu, 16 Jul 2015 18:32:39 +0000
Received: by ykeo3 with SMTP id o3so71074995yke.0 for <ietf-http-wg@w3.org>; Thu, 16 Jul 2015 11:32: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=EpYkLpCpoSXlZLQ86utrKhZprILS3eYVItEL29SOJW4=; b=uK0Jmp6B/z01Kyc+Me64F74x//AV0akYA+AX360aoOAF25GLh0hozvtZmo92yhRVbN ZT8CPzshnvKe/ZwdgHy/cGfaWQfgrRN1ulhGQgStjBt7lHdbOUBGr8MDLQ0LE2ptq0fe DyFeFnPFKHawNDRHAv+WnfK+YVXqh9WFWtdJV1axsMGlh8FsA/iwCTlhJos+hx2Fr9iI cnNDKGZoCGOHM2mpWGFg4/uITF6CP/oqbYv0q5xjRl6s7B5mZtplyl6Ns9VtMQOQrPHP d3Kt4qPocHrD5+r0rRdlP8W8BSXpL84d222yY2Tgdl43HQpCPfR4aANIYyQ/0pTAEO9q YrGg==
MIME-Version: 1.0
X-Received: by 10.129.103.84 with SMTP id b81mr11462264ywc.55.1437071531647; Thu, 16 Jul 2015 11:32:11 -0700 (PDT)
Received: by 10.129.110.138 with HTTP; Thu, 16 Jul 2015 11:32:11 -0700 (PDT)
In-Reply-To: <CAMSE37v6qXzNquAqGPaHgVJYwfGeC+uE1hurc7g4wvoL1nvgkA@mail.gmail.com>
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> <CABgOVa+C48yYp-ZkawY+Ho6pXONa_UfB0MVt_2+d0ejyESu2Pw@mail.gmail.com> <54973543-2406-4188-8DCD-AE3C85ACB76A@mnot.net> <CABgOVa+CrJ0qBGN-nBYZ2qpJo8X+wkYY-zYAqM6MjTom1QT+Bw@mail.gmail.com> <55A7A4F9.1010500@treenet.co.nz> <CABgOVaLnpnmd7JvY6O=tXXboVuvCCn-p1KLzu8wKVkg-yon79w@mail.gmail.com> <CAMSE37vmBJYkiC+c5+aMqWUvLtY4zOHDbhEJkm=K+=KbTyOO2A@mail.gmail.com> <CABkgnnXNAZdXUx_htq2owyP2CtyM-ERzZdbxM8WGWLrCeNQOaQ@mail.gmail.com> <CAMSE37v6qXzNquAqGPaHgVJYwfGeC+uE1hurc7g4wvoL1nvgkA@mail.gmail.com>
Date: Thu, 16 Jul 2015 11:32:11 -0700
Message-ID: <CABkgnnX3OMJ2=5AQcYHB9XeN0TEo0OTrcRmrpBujrqCNwnjOag@mail.gmail.com>
From: Martin Thomson <martin.thomson@gmail.com>
To: Guille -bisho- <bishillo@gmail.com>
Cc: Ben Maurer <ben.maurer@gmail.com>, Amos Jeffries <squid3@treenet.co.nz>, HTTP Working Group <ietf-http-wg@w3.org>
Content-Type: text/plain; charset="UTF-8"
Received-SPF: pass client-ip=209.85.160.181; envelope-from=martin.thomson@gmail.com; helo=mail-yk0-f181.google.com
X-W3C-Hub-Spam-Status: No, score=-6.4
X-W3C-Hub-Spam-Report: AWL=0.344, 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_WL=-1
X-W3C-Scan-Sig: maggie.w3.org 1ZFnxW-0005pv-0d ba3866ae219247fdee04dc0101679683
X-Original-To: ietf-http-wg@w3.org
Subject: Re: dont-revalidate Cache-Control header
Archived-At: <http://www.w3.org/mid/CABkgnnX3OMJ2=5AQcYHB9XeN0TEo0OTrcRmrpBujrqCNwnjOag@mail.gmail.com>
Resent-From: ietf-http-wg@w3.org
X-Mailing-List: <ietf-http-wg@w3.org> archive/latest/29978
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 16 July 2015 at 11:19, Guille -bisho- <bishillo@gmail.com> wrote:
> I know, but you can't ask end-user to shift-reload easily... :/

Like I said, this is not a tool for you (the site operator), it's a
tool for our users.

> I would like to avoid a system like that.

I don't see how using service workers would be bad here.  You wanted
this level of control and now you don't have to ask for something new,
you just have to do some work.

> - If a page adds the header by mistake, can easily remove it.

Who do you mean by "you" in this statement?

> - A page can't self-reference their domain, so no risk of bricking yourself.

But as proposed you would be able to pin index.html.  So I don't get
this either.