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

Your email address will not be published. Required fields are marked *