varnish bottleneck?
Tollef Fog Heen
tfheen at redpill-linpro.com
Fri Nov 27 10:25:58 CET 2009
]] ll
| if (req.http.host ~"www.abc.cn"){
| lookup;
| }
| it's well. Varnish can cache everything .but some function of the
| website is unable .eg POST. So I put the POST judge before the HOST
| .like that :
| if (req.request == "POST"){
| pipe;
| }
| if (req.http.host ~"www.abc.cn"){
| lookup;
| }
| there are some problem .many of url's record can't be find in the
| varnishlog .and there are no marked by the varnish eg "X-Cache: MISS" in
| the Response Headers .
Yes, this is how pipe works. You might want to read up on pass vs pipe.
--
Tollef Fog Heen
Redpill Linpro -- Changing the game!
t: +47 21 54 41 73
More information about the varnish-misc
mailing list