为什么nginx要从缓存中删除文件?

为什么nginx要从缓存中删除文件?,nginx,Nginx,我已将最大尺寸设置为2000m,非活动尺寸设置为1440h 尽管如此,尽管缓存只有120Mb,nginx仍会不断从缓存中删除文件 “我的缓存文件夹”下的所有文件都不超过一周 知道为什么吗?请阅读有关缓存的文档 Cached data that are not accessed during the time specified by the inactive parameter get removed from the cache regardless of their freshness. 在

我已将最大尺寸设置为2000m,非活动尺寸设置为1440h

尽管如此,尽管缓存只有120Mb,nginx仍会不断从缓存中删除文件


“我的缓存文件夹”下的所有文件都不超过一周

知道为什么吗?

请阅读有关缓存的文档

Cached data that are not accessed during the time specified by the inactive parameter get removed from the cache regardless of their freshness. 在指定的时间内未访问的缓存数据 非活动参数将从缓存中删除,而不管其是否新鲜。 所以,我想,你的缓存存在了60多天。当时的一些文件从未被访问,已被删除。

请阅读有关缓存的文档

Cached data that are not accessed during the time specified by the inactive parameter get removed from the cache regardless of their freshness. 在指定的时间内未访问的缓存数据 非活动参数将从缓存中删除,而不管其是否新鲜。
所以,我想,你的缓存存在了60多天。当时的一些文件从未被访问,已被删除。

请发布nginx中的相关代码段。conf请发布nginx中的相关代码段。conf“我的缓存”文件夹下的所有文件都不超过一周。还有其他原因吗?我的缓存文件夹下的文件都没有超过一周的时间。还有其他原因吗?