Does API Gateway cache only “successful” responses?

No, it depends on HTTP status code (see my previous post). For example, the lambda function completes successfully but I manually set the HTTP status code to 400, then this response will not be cached by API Gateway.

No Comments

Leave a Reply