天行健,君子以自强不息;
      地势坤,君子以厚德载物;

  • 1 
预览模式: 普通 | 列表

Varnish 中两个重要的子程序

目前varnish已经到了3.0.3,今天因处理问题,看了一些2.x的资料,感觉还是有一定同性和收获

https://www.varnish-cache.org/trac/wiki/Introduction

HHow VCL works

There are actually 8 subroutines that control how Varnish behaves, and that you can change in your Varnish config. They are:

vcl_recv()

Called after a request is received from the browse

[阅读全文]

标签: Varnish

Squid refresh_pattern 相关

Synopsis
The way how the objects in the cache be refreshed is defined using this tag. By default, regular expressions are CASE-SENSITIVE.  To make them case-insensitive, use the -i option.

Basically a cached object is:
FRESH  if expires < now, else STALE
STALE  if age > max
FRESH &nb

[阅读全文]

  • 1