AletheiaFact/aletheia
Lazy load commons images and stop fetching them in SSR mode
开放
#1,103 创建于 2023年11月16日
good first issueperformancetech
仓库指标
- 星标
- (53 个星标)
- PR 合并指标
- (PR 指标待抓取)
描述
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