Gzipping SVG
Mike Neumegen
mike at cloudcannon.com
Wed Feb 5 21:33:55 CET 2014
Gzip doesn't work on SVG files for me. I have GZip compression working for
other file types.
I've tried this VLC and it didn't work. I'm not sure what else to try. I
wasn't sure whether I needed to escape the + or not so I put all the
versions in:
if (beresp.http.content-type ~
"^(image/svg|image/svg\+xml|image/svg+xml)$") {
set beresp.do_gzip = true;
}
It returns the file but does not perform the compression.
Is my configuration wrong or is this a bug?
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <https://www.varnish-cache.org/lists/pipermail/varnish-bugs/attachments/20140205/1928a9d0/attachment.html>
More information about the varnish-bugs
mailing list