Stats of Hit/Miss for a particular URL

Tollef Fog Heen tfheen at varnish-software.com
Sat Oct 6 13:40:11 CEST 2012


]] Aanchal Gera

> How can I check with varnishstat/varnishlog if a particular URL ever hits
> the cache. And it if it does, how can I see the Hit/Miss ratio.

varnishlog -m RxURL:/url will show you the log records for that url.
Hit/miss ratio isn't calculated for you, you need to keep track of that
yourself.

Cheers,
-- 
Tollef Fog Heen
Technical lead, Varnish Software
t: +47 21 98 92 64



More information about the varnish-misc mailing list