Mike Dean

SVG Images - why doesn't Canvas use GZIP compression?

Discussion created by Mike Dean on May 3, 2017

I'm in the habit nowadays of providing logos and other icons in SVG format. This has the added benefit of providing a high resolution image for mobile devices and screens with a high DPI setting.

 

I did notice, while using Canvas with Chrome developer tools (as I always seem to do) that Canvas does not appear to apply GZIP compression to SVG.

 

Seeing that SVG is just an XML format, this means that GZIP/Deflate compression works wonders on it. Is this something worth requesting on the wishlist? I doubt it will get much in the way of attention...

Outcomes