Gzipping SVG

Poul-Henning Kamp phk at phk.freebsd.dk
Sun Apr 13 18:51:19 CEST 2014


In message <CAO8_xo156fC8ZsBc6rUfswV3codfBO=JqghkTerX-hmdsPW5UA at mail.gmail.com>
, Mike Neumegen writes:

>Gzip doesn't work on SVG files for me. I have GZip compression working for
>
>if (beresp.http.content-type ~
>"^(image/svg|image/svg\+xml|image/svg+xml)$") {
>
>        set beresp.do_gzip = true;
>
>    }


Please capture the varnishlog output for the transaction so we can
see what goes on.

Are you sure you were not seeing and old cached entry ?  gzip'ing
happens at fetch time.

-- 
Poul-Henning Kamp       | UNIX since Zilog Zeus 3.20
phk at FreeBSD.ORG         | TCP/IP since RFC 956
FreeBSD committer       | BSD since 4.3-tahoe    
Never attribute to malice what can adequately be explained by incompetence.




More information about the varnish-bugs mailing list