Avatar objects live at a deterministic key (avatars/<id>.png) served with a 300s cache, so after a re-upload the <img> kept pointing at the same URL and the browser showed the stale crop until reload. Append ?v=<uploaded_at epoch> to every avatar_url (me, public profile, and showcase/grpc batch) so the URL changes whenever the avatar changes. |
||
|---|---|---|
| .. | ||
| handlers.rs | ||
| mod.rs | ||
| model.rs | ||
| repo.rs | ||