ESI and Gzip

Poul-Henning Kamp phk at
Thu Oct 18 13:46:23 CEST 2012

In message <CAPpMyBHvYHQ1h61qqZmXrpcbb=BuP+yjj0yuMKzBgGsE4ORLhA at>, linuxsupport writes:

>I was testing ESI and Gzip in varnish

ESI & Gzip works in a pretty sneaky way in Varnish:  We stitch together
gzip'ed files on the fly.

The advantage of this is very high speed delivery, since there is no
gzip'ing to be done at delivery time, the disadvantage is a lower
compression ration, because we need to flush & align the gzip streams
to make the stitching possible.

Poul-Henning Kamp       | UNIX since Zilog Zeus 3.20
phk at FreeBSD.ORG         | TCP/IP since RFC 956
FreeBSD committer       | BSD since 4.3-tahoe    
Never attribute to malice what can adequately be explained by incompetence.

More information about the varnish-misc mailing list