-
Varnishlog cheat sheet
BELOW IS VARNISH V3Look at an incoming client request of a specific URL:
varnishlog -c -m RxURL:"readysetlearn/readysetlearn.htm"
Look at a a backend request of a specific URL:
varnishlog -b -m TxURL:"readysetlearn/readysetlearn.htm"
See requests for one specific Hostname:
varnishlog -c -m RxHeader:"Host: etherpad.org"
See the age of the cache objects for a specific hostname:
varnishlog -c -m RxHeader:"Host: etherpad.org" | grep Age
BELOW IS VARNISH < V3Look at an incoming client request of a specific URL:
varnishlog -c -o RxURL readysetlearn/readysetlearn.htm
Look at a a backend request of a specific URL:
varnishlog -b -o TxURL readysetlearn/readysetlearn.htm
See requests for one specific Hostname:
varnishlog -c -o RxHeader "Host: etherpad.org"
See the age of the cache objects for a specific hostname:
varnishlog -c -o RxHeader "Host: etherpad.org" | grep Age
If an item has a high age it means that varnish is hitting the cache for it.
Thanks to Mithrandir from the #Varnish IRC channel for helping out and thanks to Tomnomnom for V3 help!.
Related posts:
- WordPress Varnish Cache Config / VCL What is this for non-technical folks? WordPress sucks at delivering...
- Updated Varnish WordPress VCL THIS VARNISH CONFIG HAS BEEN UPDATED AND IS AVAILABLE HERE...
- How to install mod_rpaf Varnish WordPress Ubuntu And the geekiest title of the week goes to me…...
- WordPress mobile error: “the target server failed to respond” When joining a new mobile device to wordpress it looks...
- WordPress and Varnish comment IPs If your WordPress install is behind Varnish you may have...
-
johnmclear