Varnish4.0語法變遷列表
1、req.backend --> req.backend_hint
2、req.request --> req.method
3、lookup --> hash
4、vcl_fetch --> vcl_backend_response
5、!beresp.cacheable --> beresp.uncacheable
另外,在vcl_backend_response配置中,req必須修改為bereq。
2、req.request --> req.method
3、lookup --> hash
4、vcl_fetch --> vcl_backend_response
5、!beresp.cacheable --> beresp.uncacheable
另外,在vcl_backend_response配置中,req必須修改為bereq。
posted on 2014-04-23 17:07 小一敗涂地 閱讀(801) 評論(0) 編輯 收藏 所屬分類: nginx、squid、haproxy、varnish等