ESI and Gzip

linuxsupport at
Thu Oct 18 15:42:46 CEST 2012

Thanks Poul for the information.

So it should be faster but total download time is higher when using varnish
compared to when served directly from Apache.

On Thu, Oct 18, 2012 at 5:16 PM, Poul-Henning Kamp <phk at>wrote:

> --------
> 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.
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <>

More information about the varnish-misc mailing list