• Poul-Henning Kamp's avatar
    Flesh out the gzip and gunzip fetch processors. · 1d984c34
    Poul-Henning Kamp authored
    Now you can get varnish to gzip or gunzip objects as they are
    received from the backend by setting
    
    	sub vcl_fetch {
    		beresp.do_gzip = true;
    		beresp.do_guzip = true;
    	}
    
    They will only do something if the object is/isn't gzip'ed already
    (according to the beresp.http.Content-Encoding header) so the above
    silly-ish example will compress al uncompressed objects and decompress
    all compressed objects.
    
    NB: Lots of errorchecks not implemented yet.
    
    
    
    git-svn-id: http://www.varnish-cache.org/svn/trunk/varnish-cache@5715 d4fa192b-c00b-0410-8231-f00ffab90ce4
    1d984c34
g00003.vtc 1.1 KB