Doing gunzip for clients that don't support gzip encoding

CJ Ess zxcvbn4038 at gmail.com
Tue Jun 21 17:46:02 CEST 2016


Does anyone have a vcl snippet for this?

For requests to the backend I always want to have accept-coding gzip set so
that the backend compresses the response and it is stored compressed in
varnish. However, if a request comes in without accept-coding gzip then I
want to dynamically uncompress  the cached response and serve it to the
user.
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <https://www.varnish-cache.org/lists/pipermail/varnish-misc/attachments/20160621/6a7e6935/attachment.html>


More information about the varnish-misc mailing list