The discussion revolves around the automatic updating of Gravatar avatars in Discourse. trusktr questions why Discourse doesn’t automatically update avatars when Gravatars are changed on gravatar.com, noting that this behavior contradicts user expectations. sam explains that Discourse downloads avatars once and stores them permanently, with no automatic refresh mechanism. While a manual command can update all avatars, sam clarifies that it won’t switch users back to Gravatars if they have a custom avatar. 007 asks whether the update affects users with custom avatars, and trusktr argues that custom avatars should take precedence, similar to variable scoping. sam adds that Discourse avoids hotlinking to Gravatar to prevent security risks like email brute-forcing, which is why avatars are cached locally.
Is there a way to configure Discourse to automatically update avatars when Gravatars on gravatar.com have been updated?
I think the vast majority of people expect that if they update their Gravatar on gravatar.com, that their profile avatars across all websites will be updated.
But discourse requires a manual clicking of a button to update Gravatar avatars, which is opposite of this expectation.
It means, if I update Gravatar, then I need to remember all the discourse sites that I use and go to each one to manually update the Gravatar.
I think this is very much an unexpected behavior for Gravatar users.
Would this also update people who already have a custom avatar set? Or just those who don’t? I agree it’s not a necessary feature but this is an interesting option nevertheless.
In my experience, Gravatars usually update automatically after a few minutes, at least on sites where I’ve used them. Wordpress sites are great examples.
I think a custom avatar should override that and stay put. It’s like an overriden variable, in an inner scope, which doesn’t change if the outer one does.
Many sites use gravatar in such a way that it exposes identity. They hotlink directly to gravatar. This means you can do stuff like brute force email addresses.
Discourse makes a copy of avatars.
If a user wants gravatar updates on Discourse they must click the refresh button.