can cloud front invalidte 4xx or 5xx cache


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?

asked 2 months ago92 views
1 Answer
Accepted Answer


The HTTP 4xx and 5xx statuses in the tables listed in the documentation below are cached.

The cache can be deleted using "CreateInvalidation".

You can also set TTL to maintain cache such as HTTP 4xx and 5xx.

profile picture
answered 2 months ago

You are not logged in. Log in to post an answer.

A good answer clearly answers the question and provides constructive feedback and encourages professional growth in the question asker.

Guidelines for Answering Questions