Support for Response Caching

You can now enable and configure response caching for API gateways to improve performance and reduce load on back-end services.

By integrating the API Gateway service with an external cache server (such as Redis), you can configure API gateways to:

  • Store data in the cache server that has been returned by a back-end service in response to an original request.
  • Retrieve previously stored data from the cache server in response to a later request that is similar to the original request, without unnecessarily sending the later request to the back-end service.

Different options are available to ensure that data on the cache server is stored and accessed securely.

You set up response caching for individual routes in the API gateway using request policies and response policies.

For more information, see Caching Responses to Improve Performance.