Earlier quoted context omitted.
Both Chrome and Firefox (maybe others) have a separate cache for favicons that acts differently than the regular browser cache. I don't know if it caches data uris but it does cache more aggressively. I know some places like Stackoverflow add a cache-busting parameter to favicon.ico to get past it.
How would a data uri exactly get cached? It’s served inline with every page request.
SVG favicons have some cool benefits
71–75 of 75 posts
Re: SVG favicons have some cool benefits
#72People keep on talking about (prefers-color-scheme: dark), but it isn’t what they want it to be—never has been, and probably never will be (though I will admit that prefers-color-scheme could theoretically be special-cased for favicon rendering). For example, in Firefox, I use the dark theme for the UI, but that’s completely unrelated to the content, and prefers-color-scheme matches the content, not the chrome. Conte…
That sounds like a browser bug - if its rendering the icon in the browser chrome it should also use the color scheme setting matching the chrome.
Re: SVG favicons have some cool benefits
#73Earlier quoted context omitted.
> For example, in Firefox, I use the dark theme for the UI, but that’s completely unrelated to the content, and prefers-color-scheme matches the content, not the chrome. Content I keep normal, light. Of note is https://bugzilla.mozilla.org/show_bug.cgi?id=1529323 which is requesting to change this behaviour to align prefers-color-scheme to the UI theme if there is no overriding behaviour. I prefer this because now ra…
> There's no user friendly way to set firefox's prefer-color-scheme: dark if the OS does not have the capabilities to do that. And even if the OS does have that capability, Firefox will ignore it for prefers-color-scheme if you have enabled enhanced tracking protection. Instead, Firefox will always claim prefers-color-scheme: light - the least they could have done is indicate no preference.
Re: SVG favicons have some cool benefits
#74Re: SVG favicons have some cool benefits
#75Earlier quoted context omitted.
> There's no user friendly way to set firefox's prefer-color-scheme: dark if the OS does not have the capabilities to do that. And even if the OS does have that capability, Firefox will ignore it for prefers-color-scheme if you have enabled enhanced tracking protection. Instead, Firefox will always claim prefers-color-scheme: light - the least they could have done is indicate no preference.
(prefers-color-scheme: no-preference) got killed off because it simply wasn’t useful in practice.