AletheiaFact/aletheia
Lazy load commons images and stop fetching them in SSR mode
Offen
#1.103 geöffnet am 16.11.2023
good first issueperformancetech
Repository-Metriken
- Stars
- (53 Sterne)
- PR-Merge-Metriken
- (Durchschn. Merge 4T) (12 gemergte PRs in 30 T)
Beschreibung
Background Information
From the new relic dashboard we identified that the personality pages have slow outliers and one thing we can do to improve is stop rendering commons images during SSR. Fetching the image takes up to 25% of the loading time, see image below.
How
Look at the Next.js documentation for lazyloading component. The component that needs to be lazyloaded is AletheiaAvatar.tsx