[Varnish] #1281: Documentation inconsistency wrt gzip

Varnish varnish-bugs at varnish-cache.org
Mon Apr 8 12:50:22 CEST 2013


#1281: Documentation inconsistency wrt gzip
---------------------------+------------------------------
 Reporter:  perbu          |       Owner:
     Type:  documentation  |      Status:  new
 Priority:  normal         |   Milestone:  Varnish 3.0 dev
Component:  build          |     Version:  3.0.3
 Severity:  normal         |  Resolution:
 Keywords:  gzip docs      |
---------------------------+------------------------------

Comment (by martin):

 The http_gzip_support part is wrong. This should say that when
 http_gzip_support is true, Varnish will default to always asking the
 backend for compressed content, and will automatically decompress content
 for clients which don't grok gzip. It can then also compress uncompressed
 content from the backend, but will only do so if do_gzip is set to true
 from vcl in the context of that request.

 For the bonus question: req.can_gzip is a read-only variable. It will
 check the current client headers if they support gzip. So the correct way
 is to alter/remove Accept-Encoding.

-- 
Ticket URL: <https://www.varnish-cache.org/trac/ticket/1281#comment:1>
Varnish <https://varnish-cache.org/>
The Varnish HTTP Accelerator




More information about the varnish-bugs mailing list