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
gefragt vor 3 Jahren621 Aufrufe
1 Antwort
0
Akzeptierte Antwort

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
EXPERTE
EJ
beantwortet vor 3 Jahren

Du bist nicht angemeldet. Anmelden um eine Antwort zu veröffentlichen.

Eine gute Antwort beantwortet die Frage klar, gibt konstruktives Feedback und fördert die berufliche Weiterentwicklung des Fragenstellers.

Richtlinien für die Beantwortung von Fragen