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
demandé il y a 3 ans575 vues
1 réponse
0
Réponse acceptée

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
EXPERT
EJ
répondu il y a 3 ans

Vous n'êtes pas connecté. Se connecter pour publier une réponse.

Une bonne réponse répond clairement à la question, contient des commentaires constructifs et encourage le développement professionnel de la personne qui pose la question.

Instructions pour répondre aux questions