SVG files are often much larger than necessary, containing comments, metadata, hidden elements etc.
Optimize them with this tool.
Note that for a properly scaling SVG, you need to keep the viewBox
attribute. There's an option --disable=removeViewBox
for this.