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

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
EXPERT
répondu il y a 2 mois

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