about the response content-length with ESI page in the log

姚伟斌 nbubingo at gmail.com
Thu Mar 29 15:55:38 CEST 2012


I don't know if it's a bug. We use the ESI page in our site. I saw the
varnishncsa.log was like this: - - [29/Mar/2012:21:44:23 +0800] "GET
HTTP/1.0" 200 272
"Mozilla/5.0 (Windows NT 5.1) AppleWebKit/536.3 (KHTML, like Gecko)
Chrome/19.0.1061.1 Safari/536.3" - - [29/Mar/2012:21:44:23 +0800] "GET
HTTP/1.0" 200 313
"Mozilla/4.0 (compatible; MSIE 8.0; Windows NT 5.1; Trident/4.0; .NET
CLR 2.0.50727; 360SE)"

The main page includes an tiny subpage about 200bytes. The main page
is about 100k. In the ncsa log, It just displayed the subpage
content-length, not the main page length or the merged page length. It
confused me a little a the first glance.

More information about the varnish-misc mailing list