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

Hello, i’m just doing another round of tests from 2 days right now. And what i found is that:

  • the new created accounts have the avatar’s loading instantly, in all sizes (topic list, topic posts, etc)
  • the rake avatar:refresh dont do any new image generation to the R2. I still need to click on the avatar of the old account to get it being generated. Maybe its a bug?

At this time, i have the majoritiy of my users avatars loading instantly as i self clicking on it.

I have a config with cloudflare + bunny cdn for the discourse_s3_cdn right now