Avatars take a long time to load after moving to S3-compatible R2

Except not on the one that doesn’t work?

And the R2 with no discourse CDN is where you’re having trouble?

I won’t pretend that I understand exactly what your issue is or just how the avatar images work, but I’d get the CDN wired up before you do more testing, and it could be that the issue is that you moved to a new bucket and the issue is that those images need to get regenerated.

Avatars here load from what looks like a Discourse cdn: https://sea3.discourse-cdn.com/meta/user_avatar/meta.discourse.org/lilly/48/555832_2.png

Do the user profiles load faster after they’ve loaded the first time?

Again, I don’t promise that I understand and haven’t looked at the code, but a guess is that these are getting served by the Discourse CDN, and Discourse then counts on subsequent requests to pull from the CDN. I think this explains why it doesn’t work (or works slowly) on the R2 version that doesn’t have a Discourse CDN.