varnish4配置手動清除緩存

varnish4清楚緩存方法主要有,通過varnishadm 管理,或vcl配置。 其中vcl配置可以讓客戶端手動請求清楚緩存,以保證局部數據及時更新,而不用重啓varnish服務器。 配置方法: #允許清除緩存IP集 acl purge_ip{     "127.0.0.1";     "localhost"; } sub vcl_recv {    if(req.method ~ "upda
相關文章
相關標籤/搜索