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 年前檢視次數 606 次
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 年前

您尚未登入。 登入 去張貼答案。

一個好的回答可以清楚地回答問題並提供建設性的意見回饋,同時有助於提問者的專業成長。

回答問題指南