<p></p>
<blockquote>
<p dir="auto">Is there a good reason to minimize the source when we run them all through svgo before serving them in production?</p>
</blockquote>
<p dir="auto">2 main reasons for me:</p>
<ul dir="auto">
<li>For example <a href="https://www.openstreetmap.org/assets/sprite-e144d5cba10d95411535e0f63a538f760b299585fa9726c2ba8a37e3a6164300.svg" rel="nofollow">https://www.openstreetmap.org/assets/sprite-e144d5cba10d95411535e0f63a538f760b299585fa9726c2ba8a37e3a6164300.svg</a> and <a href="https://www.openstreetmap.org/assets/osm_logo-4afddaae0230a5a46687fdc751ed256dfdccde144118cb02a7d7960f207a4b92.svg" rel="nofollow">https://www.openstreetmap.org/assets/osm_logo-4afddaae0230a5a46687fdc751ed256dfdccde144118cb02a7d7960f207a4b92.svg</a> (2 SVGs fetched from the frontpage): they contain unneeded attributes, whitespace and even some personal information like filenames. Minimizing them with a tool, and then by hand, makes the files smaller than can be achieved automatically. Maybe the tool can be configured better to remove unneeded attributes, but this also works.</li>
<li>Reviewing changes is easier when the SVG content is much smaller. Although I must admit that having newlines instead of a single huge long line is easier to read. I might add in newlines again in all these SVGs.</li>
</ul>

<p style="font-size:small;-webkit-text-size-adjust:none;color:#666;">—<br />Reply to this email directly, <a href="https://github.com/openstreetmap/openstreetmap-website/pull/4794#issuecomment-2110974902">view it on GitHub</a>, or <a href="https://github.com/notifications/unsubscribe-auth/AAK2OLNINGGOWQNF2KZWRK3ZCJPKHAVCNFSM6AAAAABHWUVS62VHI2DSMVQWIX3LMV43OSLTON2WKQ3PNVWWK3TUHMZDCMJQHE3TIOJQGI">unsubscribe</a>.<br />You are receiving this because you are subscribed to this thread.<img src="https://github.com/notifications/beacon/AAK2OLPFNXED7OJM2BWY3OLZCJPKHA5CNFSM6AAAAABHWUVS62WGG33NNVSW45C7OR4XAZNMJFZXG5LFINXW23LFNZ2KUY3PNVWWK3TUL5UWJTT52LV3M.gif" height="1" width="1" alt="" /><span style="color: transparent; font-size: 0; display: none; visibility: hidden; overflow: hidden; opacity: 0; width: 0; height: 0; max-width: 0; max-height: 0; mso-hide: all">Message ID: <span><openstreetmap/openstreetmap-website/pull/4794/c2110974902</span><span>@</span><span>github</span><span>.</span><span>com></span></span></p>
<script type="application/ld+json">[
{
"@context": "http://schema.org",
"@type": "EmailMessage",
"potentialAction": {
"@type": "ViewAction",
"target": "https://github.com/openstreetmap/openstreetmap-website/pull/4794#issuecomment-2110974902",
"url": "https://github.com/openstreetmap/openstreetmap-website/pull/4794#issuecomment-2110974902",
"name": "View Pull Request"
},
"description": "View this Pull Request on GitHub",
"publisher": {
"@type": "Organization",
"name": "GitHub",
"url": "https://github.com"
}
}
]</script>