This repository was archived by the owner on Sep 30, 2024. It is now read-only.
Performance: Improve image loading in UserAvatar
#39610
Open
Description
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