Skip to content
This repository was archived by the owner on Sep 30, 2024. It is now read-only.

Performance: Improve image loading in UserAvatar #39610

Open
@umpox

Description

@umpox

Description

Goal: Reduce time spent loading images on every page

Reason:

  • We use a lot of GitHub User Content images at a large size, which we then scale down
    • We could use smaller images and have the same impact
    • Note: We also support custom images from other sources.
  • Best solution might be to always ensure we are lazy loading?

Note: @jasongornall Found a security issue with our current images. Might affect this work: https://sourcegraph.slack.com/archives/C1JH2BEHZ/p1658845789402819

A/C

  • Faster loading of images in UserAvatar

Metadata

Metadata

Assignees

No one assigned

    Labels

    4.0items under consideration for 4.0UI performanceImprovements to the actual page rendering performance as well as perceived performance.frontend-platformIssues related to our frontend platform, owned collectively by our frontend crew.sourcegraph-refinement-bot

    Type

    No type

    Projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions