Re: [core] draft-hartke-core-stateless

Jim Schaad <ietf@augustcellars.com> Wed, 12 September 2018 14:56 UTC

Return-Path: <ietf@augustcellars.com>
X-Original-To: core@ietfa.amsl.com
Delivered-To: core@ietfa.amsl.com
Received: from localhost (localhost [127.0.0.1]) by ietfa.amsl.com (Postfix) with ESMTP id F41FD130DD8 for <core@ietfa.amsl.com>; Wed, 12 Sep 2018 07:56:51 -0700 (PDT)
X-Virus-Scanned: amavisd-new at amsl.com
X-Spam-Flag: NO
X-Spam-Score: -1.901
X-Spam-Level:
X-Spam-Status: No, score=-1.901 tagged_above=-999 required=5 tests=[BAYES_00=-1.9, RCVD_IN_DNSWL_NONE=-0.0001, SPF_PASS=-0.001] autolearn=ham autolearn_force=no
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 V6EPj3pdBpH1 for <core@ietfa.amsl.com>; Wed, 12 Sep 2018 07:56:50 -0700 (PDT)
Received: from mail2.augustcellars.com (augustcellars.com [50.45.239.150]) (using TLSv1.2 with cipher ECDHE-RSA-AES256-SHA384 (256/256 bits)) (No client certificate requested) by ietfa.amsl.com (Postfix) with ESMTPS id C9F19130DC6 for <core@ietf.org>; Wed, 12 Sep 2018 07:56:49 -0700 (PDT)
Received: from Jude (73.180.8.170) by mail2.augustcellars.com (192.168.0.56) with Microsoft SMTP Server (TLS) id 15.0.1347.2; Wed, 12 Sep 2018 07:52:07 -0700
From: Jim Schaad <ietf@augustcellars.com>
To: 'Klaus Hartke' <klaus.hartke@ericsson.com>, 'Core' <core@ietf.org>
References: <009901d4495b$194c4f30$4be4ed90$@augustcellars.com> <20180911131124.GA5521@hephaistos.amsuess.com> <6131e11057e84ec3882d487b32965856@ericsson.com> <20180911134046.GB5521@hephaistos.amsuess.com> <cc47ffed0e7442a98d69b9a4702d8efc@ericsson.com>
In-Reply-To: <cc47ffed0e7442a98d69b9a4702d8efc@ericsson.com>
Date: Wed, 12 Sep 2018 07:56:03 -0700
Message-ID: <018b01d44aa8$bb6979c0$323c6d40$@augustcellars.com>
MIME-Version: 1.0
Content-Type: text/plain; charset="utf-8"
Content-Transfer-Encoding: quoted-printable
X-Mailer: Microsoft Outlook 16.0
Thread-Index: AQGCaMHPcnJIPK10eKvsaWNjM2LnMwLfWkYSAbsrDlwCcqOSXwHNl/IgpUmpc0A=
Content-Language: en-us
X-Originating-IP: [73.180.8.170]
Archived-At: <https://mailarchive.ietf.org/arch/msg/core/8izAI6wPQ34TN32RjDR7IZeb3eQ>
Subject: Re: [core] draft-hartke-core-stateless
X-BeenThere: core@ietf.org
X-Mailman-Version: 2.1.29
Precedence: list
List-Id: "Constrained RESTful Environments \(CoRE\) Working Group list" <core.ietf.org>
List-Unsubscribe: <https://www.ietf.org/mailman/options/core>, <mailto:core-request@ietf.org?subject=unsubscribe>
List-Archive: <https://mailarchive.ietf.org/arch/browse/core/>
List-Post: <mailto:core@ietf.org>
List-Help: <mailto:core-request@ietf.org?subject=help>
List-Subscribe: <https://www.ietf.org/mailman/listinfo/core>, <mailto:core-request@ietf.org?subject=subscribe>
X-List-Received-Date: Wed, 12 Sep 2018 14:56:52 -0000


> -----Original Message-----
> From: core <core-bounces@ietf.org> On Behalf Of Klaus Hartke
> Sent: Wednesday, September 12, 2018 1:35 AM
> To: 'Core' <core@ietf.org>
> Subject: Re: [core] draft-hartke-core-stateless
> 
> Christian Amsüss wrote:
> > > But proxies also generate responses themselves, e.g., from cached
> > > responses or in case of errors (5.02, 5.04). We don't want clients
> > > to receive the extended token from another client or no extended
> > > token at all when a proxy does not support the option.
> >
> > As long as the option is part of the cache key, any cached response
> > would need to have a matching request Extended-Token and thus would
> > have a matching response Extended-Token as well.
> 
> I don't think it's very desirable to require tokens to match when serving a
> cached response.
> 
> And there's still the other half of the problem: An unaware proxy won't include
> the option in responses it generates itself.

Reiterate -

For an unaware proxy having the item as part of the cached key prevents it from generating responses itself.

Text which says that aware proxies can omit the option from the cached key allows them to generate responses out of the cache and they will know that they need to process and return the option.

Jim

> 
> Klaus
> 
> _______________________________________________
> core mailing list
> core@ietf.org
> https://www.ietf.org/mailman/listinfo/core