using varnish as compression offloader

Lars Jørgensen lajo at
Fri Aug 5 15:29:19 CEST 2011

> gzip offloader case:
> If; "Accept Encoding: gzip" request comes, varnish can strip this
> using VCL and ask to the backend WITHOUT "Accept-Encoding". The server
> will sent clear text reply. Varnish will gzip it, cache it in gzip
> form and reply to the client as gzipped as asked.
> client - gzip - varnish - non gzip - server - non gzip -  varnish -
> gzip - client

No. Varnish cannot gzip objects. Have a look at


More information about the varnish-misc mailing list