Safety of setting "beresp.do_gzip" in vcl_backend_response
guillaume at varnish-software.com
Thu Apr 13 08:44:20 CEST 2017
You are right, subsequent requests will just be passed to the backend, so
no gzip manipulation/processing will occur.
On Thu, Apr 13, 2017 at 12:49 AM, Nigel Peck <np.lists at sharphosting.uk>
> I am implementing compression in vcl_backend_response, by setting
> "beresp.do_gzip" on appropriate Content-Type's. I am wondering if it is
> safe to do this even on responses that may subsequently get set as
> uncacheable by later code?
> It seems safe to me, but just wanting to check in case I'm missing
> something. I assume that if a response is subsequently set uncacheable then
> "beresp.do_gzip" will simply have no affect?
> varnish-misc mailing list
> varnish-misc at varnish-cache.org
-------------- next part --------------
An HTML attachment was scrubbed...
More information about the varnish-misc