Amazon CloudFront - Collapsed request answered with Cache-Control: no-store

0

Scenario:

  • There has been no previous requests on an object.
  • CloudFront behavior is default (CacheOptimized).
  • Several requests enough to make request collapsing reached to one Edge Location
  • Origin server responded with Cache-Control: no-store

How does Amazon CloudFront react?

I think it will send all other requests to origin, but wanted to confirm.

AWS
Julian
質問済み 3年前618ビュー
1回答
0
承認された回答

CloudFront will collapse the request for traffic spike scenario regardless of no-store and/or no-cache directive. https://docs.aws.amazon.com/AmazonCloudFront/latest/DeveloperGuide/RequestAndResponseBehaviorCustomOrigin.html#request-custom-traffic-spikes

In the logs you will see something like "NonS3CollapsedHit" for something that's normally a MISS/uncacheable.

AWS
エキスパート
EJ
回答済み 3年前

ログインしていません。 ログイン 回答を投稿する。

優れた回答とは、質問に明確に答え、建設的なフィードバックを提供し、質問者の専門分野におけるスキルの向上を促すものです。

質問に答えるためのガイドライン