Favicon loading inconsistently and/or not updating
Past Issues Searched
- [X] I have searched open and closed issues to make sure that the bug has not yet been reported
Issue is a Bug Report
- [X] This is a bug report and not a feature request, nor asking for self-hosted support
Using official Plausible Cloud hosting or self-hosting?
Plausible Cloud from plausible.io
Describe the bug
There are two separated but related issues:
-
Favicons in subdirectories do not load. For example, in this sit: https://danziger.github.io/stylophonejs/.
-
Favicons in the site selector (current value, loaded from
https://icons.duckduckgo.com/ip3/...) do not match the ones inside the selector's options (loaded from Plausible's own server).
Expected behavior
- Favicons should always load properly.
- The favicon for a given site should be shown consistently across the page.
Screenshots

Environment
- OS: Windows 10
- Browser: Chrome
- Browser Version: `Version 103.0.5060.114 (Official Build) (64-bit)`
Thanks for reporting that @Danziger! We get these icons directly from DuckDuckGo and do not have control over them. We basically showcase the same icon that they show in their search results. So as soon as they update their database, we will also display the new icon. I hope this makes sense, thanks!
@metmarkosaric Well, in the screenshot above, the icon next to the current select value points to https://icons.duckduckgo.com/ip3/solman.cat.ico while the one in the list (for the same site) points to https://plausible.io/favicon/sources/solman.cat, which seems to be rendering the right image.
If you were using your internal URL instead of directly pointing to DuckDuckGo, they would match and actually show the correct image in both places.
Regarding the subdirectories issue, ok, that doesn't work in DuckDuckGo either... 😢
For me both of those links show the same favicon. Perhaps it was cache or something like that
Yep, I can confirm issue number 2 is a caching issue. I tried to add a random query string to the favicon (https://solman.cat/favicon.ico?v=f4c299d2-694d-4074-a50f-945064da35d4) but that doesn't fix the issue either...
However, when I access the page from a different location (using a VPN) it looks fine.
I'll see if I can resolve issue number 1 using absolute URLs instead.
Thanks for the update @Danziger! I'll close this for now as everything seem to work the way it is intended.
I have similar issue. No favicon is showing up here (latest version), I rembember seeing them there a while back:
But most of them (not all) are showing up here:
How to resolve? @metmarkosaric