<!DOCTYPE HTML PUBLIC "-//W3C//DTD HTML 4.01 Transitional//EN">
<html>
<head>
<meta content="text/html; charset=ISO-8859-1"
http-equiv="Content-Type">
</head>
<body bgcolor="#ffffff" text="#000000">
<br>
-----BEGIN PGP SIGNED MESSAGE-----<br>
Hash: SHA1<br>
<br>
On 01/12/2011 01:55 PM, Eduardo Gimenez Ruiz wrote:<br>
<span style="white-space: pre;">> I see: * In chromium that
header response is: X-Varnish:791424256</span><br>
<br>
if you are using pipe, then you will get something like that
(VCL_call):<br>
<br>
$ varnishlog -o -c | perl -ne 'BEGIN { $/ = "";} print if<br>
(/RxURL.*.*$/m and /VCL_call.*pipe*/);'<br>
<br>
259 ReqStart c 10.10.71.201 5791 158147924<br>
259 RxRequest c GET<br>
259 RxURL c /html/ultimas/jogorapido/latestNews.json<br>
259 RxProtocol c HTTP/1.1<br>
259 RxHeader c x-requested-with: XMLHttpRequest<br>
259 RxHeader c Accept-Language: pt-br<br>
259 RxHeader c Referer:<br>
<a class="moz-txt-link-freetext" href="http://www.host.com.br/gadgets/latestNews/content.html?canal=274&numShowNews=4&corMenu=4A89D9&corTitulos=00437F&no_cache=15604506172">http://www.host.com.br/gadgets/latestNews/content.html?canal=274&numShowNews=4&corMenu=4A89D9&corTitulos=00437F&no_cache=15604506172</a><br>
259 RxHeader c Accept: application/json, text/javascript,
*/*<br>
259 RxHeader c Accept-Encoding: gzip, deflate<br>
259 RxHeader c User-Agent: Mozilla/4.0 (compatible; MSIE
8.0;<br>
Windows NT 5.1; Trident/4.0; .NET CLR 2.0.50727; .NET CLR<br>
3.0.4506.2152; .NET CLR 3.5.30729)<br>
259 RxHeader c If-Modified-Since: Wed, 12 Jan 2011 17:59:21
GMT<br>
259 RxHeader c Host: <a class="moz-txt-link-abbreviated" href="http://www.host.com.br">www.host.com.br</a><br>
259 RxHeader c Connection: Keep-Alive<br>
259 RxHeader c Cookie: nvgpfl=95742716;<br>
__utma=223990925.1623791818.1281182520.1290519949.1290605813.225;<br>
__utmz=223990925.1281182520.1.1.utmccn=(direct)|utmcsr=(direct)|utmcmd=(none)<br>
259 VCL_call c recv pipe<br>
259 VCL_call c hash hash<br>
259 VCL_call c pipe pipe<br>
259 Backend c 165 my_backend my_backend<br>
259 ReqEnd c 158147924 1294859016.082086086<br>
1294859016.163696051 2.148682117 0.000518799 0.081091166<br>
<br>
<br>
<span style="white-space: pre;">> * In varnishlog -o -b: 14
BackendOpen b default 127.0.0.1 59592<br>
> 127.0.0.1 8080 14 TxRequest b GET 14 TxURL b<br>
> /portal/ajax_user_bar/login?0.786534147337079 14 TxProtocol
b<br>
> HTTP/1.0 14 TxHeader b Host: maq.domain.com 14 TxHeader b<br>
> Referer: <a class="moz-txt-link-freetext" href="http://maq.domain.com/portal/">http://maq.domain.com/portal/</a> 14 TxHeader b<br>
> X-Requested-With: XMLHttpRequest 14 TxHeader b Accept:<br>
> text/html, */* 14 TxHeader b User-Agent: Mozilla/5.0 (X11;
U;<br>
> Linux i686; en-US) AppleWebKit/534.10 (KHTML, like Gecko)<br>
> Ubuntu/10.04 Chromium/8.0.552.224 Chrome/8.0.552.224
Safari/534.10 <br>
> * varnishtop -b -i TxURL: 0.99 TxURL<br>
> /portal/ajax_user_bar/login?0.35733756981790066</span><br>
<br>
<br>
varnishtop: will show you the log entry *ranking*;<br>
<br>
<br>
<br>
-----BEGIN PGP SIGNATURE-----<br>
Version: GnuPG v1.4.10 (GNU/Linux)<br>
Comment: Using GnuPG with Mozilla - <a class="moz-txt-link-freetext" href="http://enigmail.mozdev.org/">http://enigmail.mozdev.org/</a><br>
<br>
iEYEARECAAYFAk0t+0cACgkQNRQApncg2961NQCgggnRMsmWprktXVDHQ4aNODIT<br>
fuwAnRPF+TVUjWFGdt8lO7inVS8K4aE4<br>
=m6oV<br>
-----END PGP SIGNATURE-----<br>
<br>
</body>
</html>