VCL 内置公共变量
VCL 内置的公共变量可以用在不同的 VCL 函数中,下面根据使用的不同阶段进行介绍
当请求到达时,可以使用的公共变量表 1 所示

Varnish 在向后端主机请求时,可是用的公共变量如表 2 所示

从 cache 或是后端主机获取内容后,可以使用的公共变量如表 3 所示

对客户端应答时,可以使用的公共变量如表 4 所示

参考文献:https://blog.csdn.net/keda8997110/article/details/8777153?utm_source=copy
网友评论