Ignoring refresh / force-refresh from the client

Tollef Fog Heen tfheen at varnish-software.com
Mon May 31 08:26:03 CEST 2010


]] 

| Reinis,
| 
| Quoting Reinis Rozitis <r at roze.lv>:
| 
| > To ignore clients headers regarding cache this should be enough imo:
| >
| > sub vcl_recv {
| >   unset req.http.Cache-Control;
| > }
| 
| that's what I thought, and I have that as the first line in vcl_recv
| (more stuff after that).

We don't pay attention to cache-control from clients, so unless you do
that in your VCL, that's not what's going on.

|    14 RxHeader     c Connection: keep-alive
|    14 VCL_call     c recv
|    14 VCL_return   c lookup
|    14 VCL_call     c hash
|    14 VCL_return   c hash
|    14 VCL_call     c discard
|    14 VCL_return   c discard
|     0 ExpKill      - 865712580 LRU
|    14 VCL_call     c miss
|    14 VCL_return   c fetch
|    14 Backend      c 13 cq cq

Looks like a completely normal cache miss with a full cache where the
last item on the LRU list is kicked out to make space for mr. Hendrix.

-- 
Tollef Fog Heen
Varnish Software
t: +47 21 54 41 73




More information about the varnish-misc mailing list