...

/

API Caching

API Caching

Understand caching in API Gateway.

What is caching?

Caching is a savior for overloaded services. There are times when the demand for data far exceeds the velocity of that data. That means that the number of times the data is queried is far more than the rate at which the data changes. Caching the responses can save resources and improve latency in such a situation. If we make an API call to get a response, the first request goes through the entire process of computing the response. The next few requests don’t have to go through the whole process. Instead, we can remember the response of the first API call and return it as is to the subsequent calls (if the request is identical). The response is cached ...

Access this course and 1400+ top-rated courses and projects.