response time in varnishncsa

Tollef Fog Heen tfheen at varnish-software.com
Mon Oct 11 15:38:45 CEST 2010


]] "Caunter, Stefan" 

| sub vcl_deliver {
| 
| C{
|       VRT_SetHdr(sp, HDR_RESP, "\014X-Cache-Svr:", myhostname,
| vrt_magic_string_end);
| }C

You should rather just do set resp.http.X-Cache-Svr = server.hostname;

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




More information about the varnish-misc mailing list