Re: New Version Notification for draft-nottingham-cache-header-00.txt

Thomas Peterson <hidinginthebbc@gmail.com> Fri, 07 September 2018 20:12 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 B2E30130DDB for <ietfarch-httpbisa-archive-bis2Juki@ietfa.amsl.com>; Fri, 7 Sep 2018 13:12:35 -0700 (PDT)
X-Virus-Scanned: amavisd-new at amsl.com
X-Spam-Flag: NO
X-Spam-Score: -2.539
X-Spam-Level:
X-Spam-Status: No, score=-2.539 tagged_above=-999 required=5 tests=[BAYES_00=-1.9, DKIM_ADSP_CUSTOM_MED=0.001, DKIM_SIGNED=0.1, HEADER_FROM_DIFFERENT_DOMAINS=0.25, MAILING_LIST_MULTI=-1, MIME_QP_LONG_LINE=0.001, SPF_PASS=-0.001, T_DKIM_INVALID=0.01] autolearn=ham autolearn_force=no
Authentication-Results: ietfa.amsl.com (amavisd-new); dkim=fail (2048-bit key) reason="fail (body has been altered)" header.d=gmail.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 UH9JhfnwbNVt for <ietfarch-httpbisa-archive-bis2Juki@ietfa.amsl.com>; Fri, 7 Sep 2018 13:12:33 -0700 (PDT)
Received: from frink.w3.org (frink.w3.org [IPv6:2603:400a:ffff:804:801e:34:0:38]) (using TLSv1.2 with cipher ECDHE-RSA-AES256-GCM-SHA384 (256/256 bits)) (No client certificate requested) by ietfa.amsl.com (Postfix) with ESMTPS id 4AC0F12008A for <httpbisa-archive-bis2Juki@lists.ietf.org>; Fri, 7 Sep 2018 13:12:33 -0700 (PDT)
Received: from lists by frink.w3.org with local (Exim 4.89) (envelope-from <ietf-http-wg-request@listhub.w3.org>) id 1fyN4U-0005w6-4S for ietf-http-wg-dist@listhub.w3.org; Fri, 07 Sep 2018 20:09:38 +0000
Resent-Date: Fri, 07 Sep 2018 20:09:38 +0000
Resent-Message-Id: <E1fyN4U-0005w6-4S@frink.w3.org>
Received: from uranus.w3.org ([128.30.52.58]) by frink.w3.org with esmtps (TLS1.2:ECDHE_RSA_AES_256_GCM_SHA384:256) (Exim 4.89) (envelope-from <hidinginthebbc@gmail.com>) id 1fyN4O-0005ug-TI for ietf-http-wg@listhub.w3.org; Fri, 07 Sep 2018 20:09:32 +0000
Received: from www-data by uranus.w3.org with local (Exim 4.89) (envelope-from <hidinginthebbc@gmail.com>) id 1fyN4O-0000b0-Py for ietf-http-wg@listhub.w3.org; Fri, 07 Sep 2018 20:09:32 +0000
Received: from mimas.w3.org ([2603:400a:ffff:804:801e:34:0:4f]) by frink.w3.org with esmtps (TLS1.2:ECDHE_RSA_AES_256_GCM_SHA384:256) (Exim 4.89) (envelope-from <hidinginthebbc@gmail.com>) id 1fyIec-00035P-V3 for ietf-http-wg@listhub.w3.org; Fri, 07 Sep 2018 15:26:38 +0000
Received: from mail-wm0-x241.google.com ([2a00:1450:400c:c09::241]) by mimas.w3.org with esmtps (TLS1.2:ECDHE_RSA_AES_128_GCM_SHA256:128) (Exim 4.89) (envelope-from <hidinginthebbc@gmail.com>) id 1fyIea-0002v0-VP for ietf-http-wg@w3.org; Fri, 07 Sep 2018 15:26:38 +0000
Received: by mail-wm0-x241.google.com with SMTP id j25-v6so19449186wmc.1 for <ietf-http-wg@w3.org>; Fri, 07 Sep 2018 08:26:16 -0700 (PDT)
DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=gmail.com; s=20161025; h=user-agent:date:subject:from:to:message-id:thread-topic:references :in-reply-to:mime-version:content-transfer-encoding; bh=7WWk/Jmhr8n7pNTcCxRb/lz2Abqpf7IpqAv84h/lTsU=; b=XFjc9nMwoOQV9pMWuy/wsROBx9WvB078dM8QC4l+LLVcRqt5476GOBax0s81MMEaDZ Og5kxZzLYnfnL8aEb4RMnq5tlfPzwwnhWcFG7yaHEjbzMimdWsvFTS0d9LbgQ1pPKoX7 ceHJiBsqCyKIbA6hxVdOuVIM5eZ+HCcxOs6DqTUmz/SJEg0zywZxQ1qJ6XiDFeoTs1o0 l4JJN4hMilhUt+3eMloLL1+EpXS0skiJe7IAWUaHaHblNCeVvGJEKRI7apD9ZPeK4QwM k8+a8WpRdHqeMh1riUD8frOuc4kgTRzzlZ5wO/bOx+y0Xopd5mNqTSCaVmBQxL/8JslA GDzg==
X-Google-DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=1e100.net; s=20161025; h=x-gm-message-state:user-agent:date:subject:from:to:message-id :thread-topic:references:in-reply-to:mime-version :content-transfer-encoding; bh=7WWk/Jmhr8n7pNTcCxRb/lz2Abqpf7IpqAv84h/lTsU=; b=uGyK+TiGB8UqviZu7TsiQN6WvwiOiAXx6nKz9tkh0GYWtvg+NxbT/Hnr6mWFfSLWBE AaN3K2kADaTEfAm2ZXxQzwf2WRF9356oBH/WdFHP3SU1wAJ8kYuv93Ad6q3JGyzJgWDS DLSOelKl1Huw/dfBbSjL/AzXva+EDsssPvhhJLcSyWjXWpF80nezJvqYKNlURVwV/CAm UL4a6zWOXXvgHWymIHZSPtMIBKFWDs2y0D86JU0jfXZdfQWcYUE3+FUYYrXIpGnwJTiX 0wh8tByrV39G0rf6K/9Y8KSJqB7RvfTZF4kohlVfu4lYnN0CJ85lt24TGO0cK3CXE3WL 7wPw==
X-Gm-Message-State: APzg51DqEiZUtoAAByM6XStv/unkw0zxq3jemXKYPCkDsqiRNifnkM5h L3g8HnnsA1OHy2QliZw7Ku0yUsIGRBc=
X-Google-Smtp-Source: ANB0VdYvC7+HkpBTEVDlgfeVo6hvRkb3w8F0B4nHjXMADQZLl99oNJiZYZNMrkTE4abb5KWDVqteGA==
X-Received: by 2002:a1c:b5d3:: with SMTP id e202-v6mr5182248wmf.23.1536333975729; Fri, 07 Sep 2018 08:26:15 -0700 (PDT)
Received: from [172.29.129.91] ([132.185.158.36]) by smtp.gmail.com with ESMTPSA id j133-v6sm9225555wmd.12.2018.09.07.08.26.14 (version=TLS1_2 cipher=ECDHE-RSA-AES128-GCM-SHA256 bits=128/128); Fri, 07 Sep 2018 08:26:15 -0700 (PDT)
User-Agent: Microsoft-MacOutlook/10.10.0.180812
Date: Fri, 07 Sep 2018 16:26:14 +0100
From: Thomas Peterson <hidinginthebbc@gmail.com>
To: Mark Nottingham <mnot@mnot.net>, HTTP Working Group <ietf-http-wg@w3.org>
Message-ID: <72A3DEE8-E296-4CD9-B9F5-BD5A3E146FD5@gmail.com>
Thread-Topic: New Version Notification for draft-nottingham-cache-header-00.txt
References: <153630251281.11674.4222139546682549239.idtracker@ietfa.amsl.com> <AEDC275A-8CE2-48F4-B08A-8791FB0443B1@mnot.net>
In-Reply-To: <AEDC275A-8CE2-48F4-B08A-8791FB0443B1@mnot.net>
Mime-version: 1.0
Content-type: text/plain; charset="UTF-8"
Content-transfer-encoding: quoted-printable
X-W3C-Hub-Spam-Status: No, score=-4.0
X-W3C-Hub-Spam-Report: BAYES_00=-1.9, DKIM_SIGNED=0.1, DKIM_VALID=-0.1, DKIM_VALID_AU=-0.1, FREEMAIL_FROM=0.001, MIME_QP_LONG_LINE=0.001, RCVD_IN_DNSWL_NONE=-0.0001, SPF_PASS=-0.001, W3C_AA=-1, W3C_WL=-1
X-W3C-Scan-Sig: mimas.w3.org 1fyIea-0002v0-VP 629beab8a6cd135f2b6240a7df9986f1
X-caa-id: 37fcbdab4c
X-Original-To: ietf-http-wg@w3.org
Subject: Re: New Version Notification for draft-nottingham-cache-header-00.txt
Archived-At: <https://www.w3.org/mid/72A3DEE8-E296-4CD9-B9F5-BD5A3E146FD5@gmail.com>
Resent-From: ietf-http-wg@w3.org
X-Mailing-List: <ietf-http-wg@w3.org> archive/latest/35894
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: <https://www.w3.org/Mail/>
List-Post: <mailto:ietf-http-wg@w3.org>
List-Unsubscribe: <mailto:ietf-http-wg-request@w3.org?subject=unsubscribe>

I'm very much in favour of this, thanks Mark.

However, the draft doesn't expose a cache-action where a previous request is causing an update in still progress and is serving stale (for example, this is defined in nginx's UPDATING state). I think this should be added, perhaps as "HIT_REFRESH_UPDATING".

Also, no server I've found exposes a value that aligns with "ERROR", how might a 502/504 response code correlate to this, and should this draft specify these response codes be used as a 200 OK along with cache-action of "ERROR" doesn't make sense to me.

Regards



From: Mark Nottingham <mnot@mnot.net>
Date: Friday, 7 September 2018 at 07:48
To: HTTP Working Group <ietf-http-wg@w3.org>
Subject: Fwd: New Version Notification for draft-nottingham-cache-header-00..txt
Resent-From: <ietf-http-wg@w3.org>
Resent-Date: Fri, 07 Sep 2018 06:45:18 +0000

FYI; IMO it's past time to standardise x-cache and have a real spec for it. 

This is a straw-man, based on a bit of research on existing implementations..

Pretty version at:
  https://mnot.github.io/I-D/cache-header/

Comments? I think the primary audience here is proxy cache and CDN vendors, and their users.

Cheers,




Begin forwarded message:

From: mailto:internet-drafts@ietf.org
Subject: New Version Notification for draft-nottingham-cache-header-00.txt
Date: 7 September 2018 at 4:41:52 pm AEST
To: "Mark Nottingham" <mailto:mnot@mnot.net>


A new version of I-D, draft-nottingham-cache-header-00.txt
has been successfully submitted by Mark Nottingham and posted to the
IETF repository.

Name:		draft-nottingham-cache-header
Revision:	00
Title:		The Cache HTTP Response Header
Document date:	2018-09-07
Group:		Individual Submission
Pages:		7
URL:            https://www.ietf.org/internet-drafts/draft-nottingham-cache-header-00.txt
Status:         https://datatracker.ietf.org/doc/draft-nottingham-cache-header/
Htmlized:       https://tools.ietf.org/html/draft-nottingham-cache-header-00
Htmlized:       https://datatracker.ietf.org/doc/html/draft-nottingham-cache-header


Abstract:
  To aid debugging, HTTP caches often append headers to a response
  detailing how they handled the request.  This specification codifies
  that practice and updates it for HTTP's current caching model.




Please note that it may take a couple of minutes from the time of submission
until the htmlized version and diff are available at http://tools.ietf.org.

The IETF Secretariat

--
Mark Nottingham   https://www.mnot.net/