w7team commented on issue #10296: URL: https://github.com/apache/apisix/issues/10296#issuecomment-1814029673
> Why do you need a cache that won't expire? Can't you set a big enough time for what you want? 主要想利用proxy-cache 插件给对象存储服务做一个持久缓存,因为对象存储里的文件是长期不需要更新的,但是又不想全量复制到各个节点服务器上,这样会导致部署门槛变得非常高。如果设置一个非常大的过期值,也能解决,但无法从根本上解决这个问题,因为总有一天他还会从源站下载一次,这样就多消耗了一次源站的流量。如果能支持持久存储的参数不是更好嘛? I mainly want to use the proxy-cache plug-in to create a persistent cache for the object storage service, because the files in the object storage do not need to be updated for a long time, but I do not want to copy them all to each node server, which will cause the deployment threshold to become very high. If you set a very large expiration value, it can be solved, but it cannot fundamentally solve the problem, because one day it will download from the origin site again, thus consuming one more traffic of the origin site. Wouldn't it be better if it could support persistent storage of parameters? -- 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]
