I'm testing out Varnish ESI, and I notice that HTTP/1.0 requests to
ESI-enabled cache objects hang for about 5 seconds before returning
while HTTP/1.1 requests return immediately.

$ time echo -e "GET /esi HTTP/1.0\r\n\r\n" | nc host 80 > /dev/null
real    0m5.005s
user    0m0.000s
sys     0m0.002s

$ time echo -e "GET /esi HTTP/1.1\r\n\r\n" | nc host 80 > /dev/null
real    0m0.003s
user    0m0.000s
sys     0m0.001s

It appears the entire response is generated immediately but Varnish
keeps the connection open for about 5 seconds afterwards.  Is there
something wrong with my test setup?  I'm running varnish 2.0.2 in
front of a very small cherrypy script, both the script and VCL are at
http://pastie.org/329955
_______________________________________________
varnish-misc mailing list
[email protected]
http://projects.linpro.no/mailman/listinfo/varnish-misc

Reply via email to