AWS AmazonCloudFront: CloudFront cache key doc sentence rephrasing
Summary
Rephrased a sentence about customizing the cache key and using an origin request policy for analytics/telemetry values. Meaning is unchanged; only wording was adjusted.
Security assessment
The edit only restructures an existing sentence about cache key customization and origin request policies; no new security feature, vulnerability, or hardening guidance is added.
Evidence
+Use caution when customizing the cache key. Sometimes it’s desirable, but it can have unintended consequences such as caching duplicate objects, lowering your cache hit ratio, and increasing the number of origin requests. Sometimes your origin website or application needs certain values from viewer requests for analytics, telemetry, or other uses, but those values don’t change the object that the origin returns. In this case, use an [origin request policy](./controlling-origin-requests.html) to include these values in origin requests but _not_ include them in the cache key.
Diff
diff --git a/AmazonCloudFront/latest/DeveloperGuide/understanding-the-cache-key.md b/AmazonCloudFront/latest/DeveloperGuide/understanding-the-cache-key.md index 65b213892..e7813ed52 100644 --- a//AmazonCloudFront/latest/DeveloperGuide/understanding-the-cache-key.md +++ b//AmazonCloudFront/latest/DeveloperGuide/understanding-the-cache-key.md @@ -92 +92 @@ For any given value that you intend to include in the cache key, you should make -Use caution when customizing the cache key. Sometimes it’s desirable, but it can have unintended consequences such as caching duplicate objects, lowering your cache hit ratio, and increasing the number of origin requests. If your origin website or application needs to receive certain values from viewer requests for analytics, telemetry, or other uses, but these values don’t change the object that the origin returns, use an [origin request policy](./controlling-origin-requests.html) to include these values in origin requests but _not_ include them in the cache key. +Use caution when customizing the cache key. Sometimes it’s desirable, but it can have unintended consequences such as caching duplicate objects, lowering your cache hit ratio, and increasing the number of origin requests. Sometimes your origin website or application needs certain values from viewer requests for analytics, telemetry, or other uses, but those values don’t change the object that the origin returns. In this case, use an [origin request policy](./controlling-origin-requests.html) to include these values in origin requests but _not_ include them in the cache key.