Skip to content

Users page caching leads to incorrect avatar and reputation #2064

Description

@trichoplax

Describe the bug
The Users page sometimes shows the incorrect avatar and reputation at the top right of the page (where the currently signed in user's details should be).

To Reproduce
Steps to reproduce the behavior:

  1. Go to https://linux.codidact.com/users (or equivalent on another community - this is the one I saw it on).
  2. Sometimes see incorrect signed in user details (this appears to be rare, and I don't know a way to reliably reproduce it).

Expected behavior
The current user's avatar and reputation should always show at the top right of the page.

Screenshots
I was signed in (trichoplax, reputation 1) but samcarter's avatar and reputation show at the top right:

Linux Codidact Users page showing samcarter's avatar and reputation, even though trichoplax is signed in

Metadata

Metadata

Assignees

No one assigned

    Labels

    No labels
    No labels

    Type

    No type

    Fields

    No fields configured for issues without a type.

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions