close
一. 查看squid狀況:
1.
squidclient -t 1 -h localhost -p 80 mgr:info
2.
squidclient -T 1 -p 80 -h localhost mgr:5min | grep -e client_http.req -e client_http.all_median_svc_time -e client_http.miss_median_svc_time -e client_http.hit_median_svc_time
二. 如何清cache:
1.
telnet localhost 80
PURGE /ooxx.html?xx=xx HTTP/1.1
Host: xxxx.oooo.com
2.
purge -P 1 -p localhost:80 -e "^http://xxoo.com.tw/ooxx/"
全站熱搜