Hacker News new | ask | show | jobs
by FlyingAvatar 50 days ago
The one thing that keeps me from using Safari is web apps can't update their tab's favicon. That means if you load a site that uses the favicon for notifications you either (a) login when you have a notification and it will now forever seem like you have a notification or (b) login when you don't have a notification and it will forever seem like you don't have any notifications.

Yes, you can clear a cache for a one time update, but that is hardly helpful.

2 comments

they do update periodically, but they are cached for a really long time.

also annoying when working locally as the favicon persists amongst different projects using the same port on localhost.

This seems like a misuse of favicons. Is there spec for changing the icon that way? Are the icons you expect to change being served with headers that allow caching? Are there more appropriate APIs that could be used like notification API?
Think the the unread count for GMail or the new message notification badge for Slack. It's worked this way in Firefox and Chrome for almost 2 decades. We're past the "you're doing it wrong" timeframe, in my opinion.