我已经创建了一个 API 并从运行时配置启用响应缓存,但仍然网关发送请求到版本 3.0 上的后端 API
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.
The technical post webpages of this site follow the CC BY-SA 4.0 protocol. If you need to reprint, please indicate the site URL or the original address.Any question please contact:yoyou2525@163.com.