Reputation: 43
I have created an API and enable the response cache from run time configuration but still gateway sending request to backend API on Version 3.0
Upvotes: 0
Views: 291
Reputation: 12513
The response cache key includes all the headers and request body, hashed. Therefore, if 2 of your requests have at least one different header, it will be a cache miss.
In the case of Postman, it always sends a random value in Postman-Token
header. Hense the cache miss always.
Upvotes: 1