[CDNi] draft-ietf-cdni-cache-control-metadata-00 submitted addressing initial draft feedback
Glenn Goldstein <glenng1215@gmail.com> Tue, 17 October 2023 19:21 UTC
Return-Path: <glenng1215@gmail.com>
X-Original-To: cdni@ietfa.amsl.com
Delivered-To: cdni@ietfa.amsl.com
Received: from localhost (localhost [127.0.0.1]) by ietfa.amsl.com (Postfix) with ESMTP id 93F00C15199B for <cdni@ietfa.amsl.com>; Tue, 17 Oct 2023 12:21:05 -0700 (PDT)
X-Virus-Scanned: amavisd-new at amsl.com
X-Spam-Flag: NO
X-Spam-Score: -6.857
X-Spam-Level:
X-Spam-Status: No, score=-6.857 tagged_above=-999 required=5 tests=[BAYES_00=-1.9, DKIM_SIGNED=0.1, DKIM_VALID=-0.1, DKIM_VALID_AU=-0.1, DKIM_VALID_EF=-0.1, FREEMAIL_ENVFROM_END_DIGIT=0.25, FREEMAIL_FROM=0.001, HTML_MESSAGE=0.001, RCVD_IN_DNSWL_HI=-5, RCVD_IN_ZEN_BLOCKED_OPENDNS=0.001, SPF_HELO_NONE=0.001, SPF_PASS=-0.001, T_SCC_BODY_TEXT_LINE=-0.01] autolearn=ham autolearn_force=no
Authentication-Results: ietfa.amsl.com (amavisd-new); dkim=pass (2048-bit key) header.d=gmail.com
Received: from mail.ietf.org ([50.223.129.194]) by localhost (ietfa.amsl.com [127.0.0.1]) (amavisd-new, port 10024) with ESMTP id meyKOHwMNjnR for <cdni@ietfa.amsl.com>; Tue, 17 Oct 2023 12:21:02 -0700 (PDT)
Received: from mail-yb1-xb35.google.com (mail-yb1-xb35.google.com [IPv6:2607:f8b0:4864:20::b35]) (using TLSv1.3 with cipher TLS_AES_128_GCM_SHA256 (128/128 bits) key-exchange X25519 server-signature RSA-PSS (2048 bits) server-digest SHA256) (No client certificate requested) by ietfa.amsl.com (Postfix) with ESMTPS id 2FAFDC14F749 for <cdni@ietf.org>; Tue, 17 Oct 2023 12:20:24 -0700 (PDT)
Received: by mail-yb1-xb35.google.com with SMTP id 3f1490d57ef6-d8a000f6a51so6767039276.3 for <cdni@ietf.org>; Tue, 17 Oct 2023 12:20:24 -0700 (PDT)
DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=gmail.com; s=20230601; t=1697570423; x=1698175223; darn=ietf.org; h=to:subject:message-id:date:from:mime-version:from:to:cc:subject :date:message-id:reply-to; bh=elKzH+mn/Bhl7E2eiDrMGvfYWbhaXcC38IZbU6mvDsA=; b=hL+c4J+MUROImGcnqsIR4lNWQUtYpWtrhFf1/ss1B8u1tO2kI7DRdF58U75jV1p2ow WfnAUtvZd0alvo9if+HClByco0TOmT9akKxGC3gkvwvu5RXjBrKPjwRqwuqjprzJFDwQ LEd9EeRkSuymfFTuduIc1NJs/AI3IC3ztug4DQu9R7dcFVm7Ymo7czhg3P2+ghx8JLQX Ho3pFXEAdESQVnlGeVCVrRzGF7WBx2cp5H34I1Ms1VJRvcH+jvDSlOj/xNg+MK+Vs2uZ mLgeQ5l8bJrL0uWvB8svf3DxmtIFiKwXXg0Oph15w80dO4t89yKh+F/aZPPpfV0IF+J5 bcCg==
X-Google-DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=1e100.net; s=20230601; t=1697570423; x=1698175223; h=to:subject:message-id:date:from:mime-version:x-gm-message-state :from:to:cc:subject:date:message-id:reply-to; bh=elKzH+mn/Bhl7E2eiDrMGvfYWbhaXcC38IZbU6mvDsA=; b=Zy8BQ7uNfdHhMIuiNEbywADzyxXHBkgLK4jhXIAMOZ3KLSL8fkc2wSs1Y0OxCoqbLa m3l+pk7oc2pGscFz+zEPk+QWXqCYFfFtYfk7n2KlWJAtwjWIoMalkrR9xmp4faQC92Wt c5Q7zE4HYzAw+LvNoXcqoU8LJbDrte5zyHHGQDtJcGYQydPeaNuIyeV33arCLDNNbF/q QstIYNjuJ+V9Ky0iAIjopAJTetoqJgJryMHZDx8om0rxYbKvmkDu1f+JfFQA7AvpxyjY qP7CqEniAUTI3AYCi3x9a+g9/NE0nLUkIHbQvA5um9w7TsEWiG9Ui8iyZ2mvlMxcfg/i hIGQ==
X-Gm-Message-State: AOJu0Yxsz55MLDjKec+/Mx2MjiiVbp4widKTyCDIF6F3atgLqCW/IhBY 211fujpejxm4kpP8YCVZrnH3RApLdjmimWEaj1RcAnJQ/hLvgg==
X-Google-Smtp-Source: AGHT+IEXITQ9HMIQp7Ts7MetsHPUaMtpOHWI9VRgQHaXDbLbO/3hSyyV8OlSTEtMbTWbsj+toqDUDpuNP8c9nsVkcKk=
X-Received: by 2002:a25:9809:0:b0:d9a:5908:a29 with SMTP id a9-20020a259809000000b00d9a59080a29mr2752020ybo.64.1697570422829; Tue, 17 Oct 2023 12:20:22 -0700 (PDT)
MIME-Version: 1.0
From: Glenn Goldstein <glenng1215@gmail.com>
Date: Tue, 17 Oct 2023 15:20:11 -0400
Message-ID: <CAO4oHo6ey7Jt-8QtTr0DHLGX1=u=cuA=bXtnRc93R9cLd0zY+g@mail.gmail.com>
To: cdni@ietf.org
Content-Type: multipart/alternative; boundary="00000000000008b51e0607ee6a02"
Archived-At: <https://mailarchive.ietf.org/arch/msg/cdni/qfFbCRDUEqrINX3zMI71e3IWf9c>
Subject: [CDNi] draft-ietf-cdni-cache-control-metadata-00 submitted addressing initial draft feedback
X-BeenThere: cdni@ietf.org
X-Mailman-Version: 2.1.39
Precedence: list
List-Id: "This list is to discuss issues associated with the Interconnection of Content Delivery Networks \(CDNs\)" <cdni.ietf.org>
List-Unsubscribe: <https://www.ietf.org/mailman/options/cdni>, <mailto:cdni-request@ietf.org?subject=unsubscribe>
List-Archive: <https://mailarchive.ietf.org/arch/browse/cdni/>
List-Post: <mailto:cdni@ietf.org>
List-Help: <mailto:cdni-request@ietf.org?subject=help>
List-Subscribe: <https://www.ietf.org/mailman/listinfo/cdni>, <mailto:cdni-request@ietf.org?subject=subscribe>
X-List-Received-Date: Tue, 17 Oct 2023 19:21:05 -0000
draft-ietf-cdni-cache-control-metadata-00 has been submitted, replacing draft-power-cdni-cache-control-metadata and addressing issues identified by Kevin Ma as follows: section 3: is "internal" mandatory-to-specify if "force-internal" is specified? similarly, is "external" mandatory-to-specify if "force-external" is specified? or, is the intent to support forced clearing of the cache control policy? ** RESPONSE: clarification added. The default is “as-is””, regardless of whether "force is unspecified, “True”, or, "False ". section 3, "internal" description: "to be used" -> "that MUST be used" ? ** RESPONSE: fixed section 3, "external" description: "to be used by" -> "that MUST be returned to" ? ** RESPONSE: fixed. when with "MUST be expressed to" section 3, example 3: the link to SVTA2032 gives me a 404 not found? assuming that is resolved, and SVTA2032 adequately describes MI.OriginResponseState, i'm not sure this example is necessary. it doesn't enhance my understanding of how to parse the MI.CachePolicy. ** RESPONSE: 404 errors fixed. While example 3 may not enhance one's understanding of how to parse the MI.CachePolicy, it does provide context for how MI.CachePolicy would be used in a real-world scenario in conjunction with other portions of the CDNI standard. section 4: "useful when there a" -> "useful when a" ** RESPONSE: fixed section 4, "error-codes" description: "or one of the special" -> "or any of the special"? "one" implies to me that i can only pick "4xx" or "5xx" but not both? also, ignoring the obvious redundancy inefficiencies, is there any concern with specifying duplicate (e.g., ["404, "404"]) or overlapping (e.g., ["404", "4xx"]) values? ** RESPONSE: fixed, with clarification on redundancies being allowed. section 4, "error-codes" MtS: "MAY function" -> "functions" or "MAY be used". though the use of this functionality is optional, the actual override functionality is not optional. ** RESPONSE: fixed section 4, example: perhaps add an "xx" to the example? ** RESPONSE: fixed section 4, example: "origin.." -> "origin." ** RESPONSE: fixed section 5: "to use by a dCDN" -> "the dCDN MUST use"? ** RESPONSE: fixed section 5: "content be served" -> "content MUST be served" or "content MUST only be served"? ** RESPONSE: fixed section 5: what is the relationship between "stale-while-revalidating" and "failed-refresh-ttl"? the latter is how long to wait until revalidating, and the former is what to do before revalidating? I found it confusing, specifically because the "failed-refresh-ttl" MtS sections states: "The default is zero, in which no stale content is served.", but if true, example 1 doesn't make sense? perhaps the "failed-refresh-ttl" MtS section needs a further qualification? does "failed-refresh-ttl" only have meaning if "stale-if-error" is specified? it is also not clear to me what the difference is between "revalidating" and "refreshing" (they seem to be used interchangeably in example 3, if so, should we make it consistent)? ** RESPONSE: "refreshing" changed to "revalidating" for clarity and failed-refresh-ttl property renamed to failed-revalidation-delta-seconds section 5, "stale-if-error" description: "or one of the special" -> "or any of the special"? "one" implies to me that i can only pick "4xx" or "5xx" but not both? also, ignoring the obvious redundancy inefficiencies, is there any concern with specifying duplicate (e.g., ["404, "404"]) or overlapping (e.g., ["404", "4xx"]) values? ** RESPONSE: fixed, with clarification on redundancies being allowed. section 5, "stale-if-error" MtS: "may function" -> "functions" or "MAY be used". though the use of this functionality is optional, the actual override functionality is not optional. ** RESPONSE: fixed section 5, example 3: the indentation is off (two extra spaces) for "stale-if-error" and "failed-refresh-ttl". ** RESPONSE: fixed section 6, are the "ProcessingStages" necessary for this draft? could we just describe the "MI.CacheBypassPolicy" without the "ProcessingStages". SVTA2032 is not a normative reference, but the encoding examples seem to make it normative. i think it would be simpler to leave the processing stages out of this draft? ** RESPONSE: fixed, with an example illustrating the use of these new MI Cache Policy objects moved to a new "Informative Examples" section. section 7, example 3: the link to SVTA2031 gives me a 404 not found? assuming that is resolved, is SVTA2031 normative, i.e., do i need to understand SVTA2031 to parse "expression"? "expression" is defined as a String, so technically i can parse it and store it as a string, but the type description says "An expression using the Metadata Expression Language (MEL) [SVTA2031]". perhaps we could soften this language to allow for other strings and make it more generic? should it support different expression languages? would we want it to be extensible (e.g., have an additional type field)? ** RESPONSE: SVTA2031 will be characterized as normative, as the intent is to support only the Metadata Expression Language documented in that specification. At some time in the future, if needed, other expression languages may be supported. section 8: i don't think a conclusions section is necessary ** RESPONSE: removed section 10.1: this obviously needs to be filled out. ** RESPONSE: added
- [CDNi] draft-ietf-cdni-cache-control-metadata-00 … Glenn Goldstein