Re: dont-revalidate Cache-Control header

Amos Jeffries <squid3@treenet.co.nz> Thu, 16 July 2015 00:43 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 A11981B2B74 for <ietfarch-httpbisa-archive-bis2Juki@ietfa.amsl.com>; Wed, 15 Jul 2015 17:43:04 -0700 (PDT)
X-Virus-Scanned: amavisd-new at amsl.com
X-Spam-Flag: NO
X-Spam-Score: -6.912
X-Spam-Level:
X-Spam-Status: No, score=-6.912 tagged_above=-999 required=5 tests=[BAYES_00=-1.9, 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 hftYKiWkrswv for <ietfarch-httpbisa-archive-bis2Juki@ietfa.amsl.com>; Wed, 15 Jul 2015 17:43:02 -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 B61BD1B2B71 for <httpbisa-archive-bis2Juki@lists.ietf.org>; Wed, 15 Jul 2015 17:43:01 -0700 (PDT)
Received: from lists by frink.w3.org with local (Exim 4.80) (envelope-from <ietf-http-wg-request@listhub.w3.org>) id 1ZFXDF-0004rC-DG for ietf-http-wg-dist@listhub.w3.org; Thu, 16 Jul 2015 00:39:45 +0000
Resent-Date: Thu, 16 Jul 2015 00:39:45 +0000
Resent-Message-Id: <E1ZFXDF-0004rC-DG@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 <squid3@treenet.co.nz>) id 1ZFXDB-0004qV-QT for ietf-http-wg@listhub.w3.org; Thu, 16 Jul 2015 00:39:41 +0000
Received: from 121-99-228-82.static.orcon.net.nz ([121.99.228.82] helo=treenet.co.nz) by lisa.w3.org with esmtp (Exim 4.80) (envelope-from <squid3@treenet.co.nz>) id 1ZFXDA-0004xY-Cv for ietf-http-wg@w3.org; Thu, 16 Jul 2015 00:39:41 +0000
Received: from [192.168.20.251] (unknown [121.98.42.176]) by treenet.co.nz (Postfix) with ESMTP id 89987E6D94 for <ietf-http-wg@w3.org>; Thu, 16 Jul 2015 12:39:08 +1200 (NZST)
Message-ID: <55A6FD0C.80503@treenet.co.nz>
Date: Thu, 16 Jul 2015 12:38:36 +1200
From: Amos Jeffries <squid3@treenet.co.nz>
User-Agent: Mozilla/5.0 (Windows NT 6.1; WOW64; rv:31.0) Gecko/20100101 Thunderbird/31.7.0
MIME-Version: 1.0
To: ietf-http-wg@w3.org
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> <CAMSE37sqDmSstH7sDVYUgDCRB6hxi3X2b5MH27ORaYXm-aYwLw@mail.gmail.com> <CABkgnnU0+X4eEMoUtwn=rmU5nOWfTYcQxsFwOKJixN0upFOh3Q@mail.gmail.com> <CABgOVaLZ2V7Na9u5FOOy7kkny8j_qiBLDrnZAOOJ_TBkuVZOpw@mail.gmail.com>
In-Reply-To: <CABgOVaLZ2V7Na9u5FOOy7kkny8j_qiBLDrnZAOOJ_TBkuVZOpw@mail.gmail.com>
Content-Type: text/plain; charset="utf-8"
Content-Transfer-Encoding: 7bit
Received-SPF: pass client-ip=121.99.228.82; envelope-from=squid3@treenet.co.nz; helo=treenet.co.nz
X-W3C-Hub-Spam-Status: No, score=-4.7
X-W3C-Hub-Spam-Report: AWL=-0.095, BAYES_00=-1.9, RCVD_IN_DNSWL_LOW=-0.7, SPF_HELO_PASS=-0.001, SPF_PASS=-0.001, TVD_RCVD_IP=0.001, W3C_AA=-1, W3C_WL=-1
X-W3C-Scan-Sig: lisa.w3.org 1ZFXDA-0004xY-Cv aace9fc2103ddd272fcd1c4b5c535de4
X-Original-To: ietf-http-wg@w3.org
Subject: Re: dont-revalidate Cache-Control header
Archived-At: <http://www.w3.org/mid/55A6FD0C.80503@treenet.co.nz>
Resent-From: ietf-http-wg@w3.org
X-Mailing-List: <ietf-http-wg@w3.org> archive/latest/29966
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/07/2015 10:39 a.m., Ben Maurer wrote:
> SRI is difficult to use in many of these cases. For example, at Facebook,
> we often dynamically construct thumbnails of photos in order to avoid
> having to store both high-res and low-res versions of a photo. We might
> link you to /profilepics/64x64/4.jpg which is a 64x64 version of 4.jpg.
> Since this file is computed on the fly, we don't know the hash of the file.
> But we'd still like to serve it with a "static" tag so that it can avoid
> situations.

This is where simply doing chunked encoding is designed to prevent
corruption. Transfers lacking the terminal 0-byte chunk are visibly
corrupt to all recipients of the message.

Amos