by molf · 13y ago · 0 comments
Speaking of gzip compression, the most obvious and effective way to reduce the size of SVG files on your website is to serve them with gzip compression. Be sure to configure your web server to do this before thinking of applying this tool.
I also see some opportunity for lossy compression. The precision of coordinates can often be reduced: 2 decimals is usually enough. Perhaps some paths can be simplified too?
about lossy optimizations – there is an idea of curves simplifying with Visvalingam’s algorithm - https://github.com/svg/svgo/issues/9