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
feita há 2 meses88 visualizações
1 Resposta
1
Resposta aceita

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
ESPECIALISTA
respondido há 2 meses

Você não está conectado. Fazer login para postar uma resposta.

Uma boa resposta responde claramente à pergunta, dá feedback construtivo e incentiva o crescimento profissional de quem perguntou.

Diretrizes para responder a perguntas