How To Troubleshoot Varnish

Author: , January 17th, 2011

To monitor Varnish, simply run: # varnishlog http://www.varnish-cache.org/docs/2.1/reference/index.html http://www.varnish-cache.org/docs/2.1/tutorial/increasing_your_hitrate.html Important Note: By default, Varnish will NOT cache pages that have cookies!!! http://www.varnish-cache.org/trac/wiki/VCLExampleCacheCookies sub vcl_recv { unset req.http.cookie; } sub vcl_fetch { unset beresp.http.set-cookie; }