tzssangglass commented on issue #5453: URL: https://github.com/apache/apisix/issues/5453#issuecomment-1119201982
> 我使用了 "cache_ttl": 300, cache的時間依舊是10s ``` 基于磁盘的缓存需要注意: 不能动态配置缓存的过期时间,只能通过后端服务响应头 Expires 或 Cache-Control 来设置过期时间,如果后端响应头中没有 Expires 或 Cache-Control,那么 APISIX 将默认只缓存 10 秒钟 ``` Maybe that's why. If you think this is a bug, please submit an issue and give the full steps to reproduce it. -- This is an automated message from the Apache Git Service. To respond to the message, please log on to GitHub and use the URL above to go to the specific comment. To unsubscribe, e-mail: [email protected] For queries about this service, please contact Infrastructure at: [email protected]
