can cloud front invalidte 4xx or 5xx cache

0

Can cloud front cache a 4xx or 5xx response from my origin? And can cloud front invalidate a 4xx or 5xx cache with the Invalidating Files function? https://docs.aws.amazon.com/AmazonCloudFront/latest/DeveloperGuide/Invalidation.html

ivan
질문됨 2달 전88회 조회
1개 답변
1
수락된 답변

Hello.

The HTTP 4xx and 5xx statuses in the tables listed in the documentation below are cached.
https://docs.aws.amazon.com/AmazonCloudFront/latest/DeveloperGuide/HTTPStatusCodes.html#HTTPStatusCodes-cached-errors-general

The cache can be deleted using "CreateInvalidation".

You can also set TTL to maintain cache such as HTTP 4xx and 5xx.
https://docs.aws.amazon.com/ja_jp/AmazonCloudFront/latest/DeveloperGuide/HTTPStatusCodes.html

profile picture
전문가
답변함 2달 전

로그인하지 않았습니다. 로그인해야 답변을 게시할 수 있습니다.

좋은 답변은 질문에 명확하게 답하고 건설적인 피드백을 제공하며 질문자의 전문적인 성장을 장려합니다.

질문 답변하기에 대한 가이드라인

관련 콘텐츠