Lars Jørgensen wrote:
>> 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 
> https://www.varnish-cache.org/docs/trunk/phk/gzip.html
>   
no? you mean YES!

"set beresp.do_gzip = true;
Will make varnish gzip the object during fetch from the backend,
provided the backend didn’t send us a gzip’ed object."


_______________________________________________
varnish-misc mailing list
[email protected]
https://www.varnish-cache.org/lists/mailman/listinfo/varnish-misc

Reply via email to