Hacker News new | ask | show | jobs
by donmcronald 1738 days ago
I want something similar to this for favicons. As stupid as that sounds, dealing with favicons is a huge pain. There are so many variants required and every vendor seems to do their own thing.

For example, when you click the share button in Safari on an iPad, it'll download every `link rel="icon"` image you list in html even though it doesn't need them. It would be really awesome to use a worker to inspect the user agent and modify responses to return exactly what's needed for that client.

The pricing for this service won't work for favicons since the cost per response is way too high, but I honestly think it'd be worth $5 / month if I could just upload a SVG favicon for my site and click a button to "Optimize Favicons".

1 comments

SVG favicons work in every browser except IE and Safari, sigh:

https://caniuse.com/link-icon-svg