ESI include inserts garbage code

Bert-Jan de Lange bert-jan at bugbyte.nl
Fri Feb 12 00:08:53 CET 2010


Hi folks,

I'm experimenting with ESI and something weird has come up: varnish is 
adding garbage code to the output.
The public address is the production varnish that doesn't use this yet, 
so you'll need to edit your hosts-file:

81.23.226.44 www.mobilecowboys.nl

My sample page is http://www.mobilecowboys.nl/news/hbptest

It switches randomly between 3 diferent includes all of which are cached:
http://www.mobilecowboys.nl/news/hbpplayer/review_id/1370977981
http://www.mobilecowboys.nl/news/hbpplayer/review_id/1600813923
http://www.mobilecowboys.nl/news/hbpplayer/review_id/1271683253

The extra code looks like checksums. They are consistent for each include.

The relevant debug lines from varnishlog are:
     7 Debug        c "tag {include 
src="/news/hbpplayer/review_id/1370977981"} 0 1 0"
     7 Debug        c "Incl " src="/news/hbpplayer/review_id/1370977981"""

     7 Debug        c "tag {include 
src="/news/hbpplayer/review_id/1600813923"} 0 1 0"
     7 Debug        c "Incl " src="/news/hbpplayer/review_id/1600813923"""

     7 Debug        c "tag {include 
src="/news/hbpplayer/review_id/1271683253"} 0 1 0"
     7 Debug        c "Incl " src="/news/hbpplayer/review_id/1271683253"""

And near the end of a request:
     7 Debug        c "herding"

I'm running varnish 2.0.6 from ports on freebsd 7.2

Thanks,
Bert-Jan



More information about the varnish-misc mailing list