Alecs Henry skrev:
> Hi guys,
> 
> Is there a variable that I can print on the response header that will
> give me the cache lookup result such as TCP_HIT or TCP_MISS?

I guess you can add the relevant header in vcl_hit and vcl_miss

See the FAQ: http://varnish.projects.linpro.no/wiki/FAQ#HowdoIaddaHTTPheader

Just add a
sub vcl_hit {
  # add code from faq here
}



-- 
http://linpro.no/ | http://redpill.se/

Attachment: signature.asc
Description: OpenPGP digital signature

_______________________________________________
varnish-misc mailing list
varnish-misc@projects.linpro.no
http://projects.linpro.no/mailman/listinfo/varnish-misc

Reply via email to