0
点赞
收藏
分享

微信扫一扫

squid删除指定url的缓存配置

RIOChing 2023-04-25 阅读 78


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 Purge



2,清除指定url的缓存

squidclient -h  127.0.0.1 -p 5006 -m PURGE http://192.168.60.237:5006/tt/img/cache/557fe39745ce45eda21a860a





举报

相关推荐

0 条评论