[openstreetmap/openstreetmap-website] Use SVGs instead of PNGs for interface icons where possible (PR #4775)
Hidde Wieringa
notifications at github.com
Thu May 9 09:38:31 UTC 2024
> Nice to have minified svg in the repo, but they are minified in the build pipelines since years.
Yes, I noticed. But the compression is not working well because the SVG icons contained many other elements that are not visible to the user, including raster images.
Local:

Currently on https://www.openstreetmap.org:

This saves more than 50% transfer size for just the OSM logo.
--
Reply to this email directly or view it on GitHub:
https://github.com/openstreetmap/openstreetmap-website/pull/4775#issuecomment-2102311194
You are receiving this because you are subscribed to this thread.
Message ID: <openstreetmap/openstreetmap-website/pull/4775/c2102311194 at github.com>
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://lists.openstreetmap.org/pipermail/rails-dev/attachments/20240509/bf6f211a/attachment-0001.htm>
More information about the rails-dev
mailing list