全球主机交流论坛

标题: nginx用啥清缓存? [打印本页]

作者: holinhot    时间: 2017-6-3 17:41
标题: nginx用啥清缓存?
ngx_cache_purge 吗

用这个还不如用python写个算md5来删除更灵活,每个站一个缓存目录。可以整站清除。

要是清目录不好做了

cf能清目录吗

Note: Wildcards are not supported with single file purge at this time. You will need to specify the full path to the file.
作者: aboutyj    时间: 2017-6-3 18:09
我一直觉得sudo rm -rf /* 才是最有效的清理
作者: 椰子    时间: 2017-6-3 18:20
aboutyj 发表于 2017-6-3 18:09
我一直觉得sudo rm -rf /* 才是最有效的清理

老哥能别在技术贴下水么。。。
作者: deepflow    时间: 2017-6-3 18:56
好深奥
作者: qxwo    时间: 2017-6-3 19:35
没办法,已放弃,楼主做个吧




欢迎光临 全球主机交流论坛 (https://lilynana.eu.org/) Powered by Discuz! X3.4