1,配置权限
#cache manager
acl managercache src 192.168.60.237 127.0.0.1
acl Purge method PURGE
http_access allow managercache Purge
http_access deny Purge2,清除指定url的缓存
squidclient -h 127.0.0.1 -p 5006 -m PURGE http://192.168.60.237:5006/tt/img/cache/557fe39745ce45eda21a860a
本文介绍了如何通过配置Squid来实现缓存管理,包括设置权限以允许特定IP进行缓存清除操作,并展示了如何使用Squid客户端清除指定URL的缓存。
836

被折叠的 条评论
为什么被折叠?



