AletheiaFact / AletheiaFact/aletheia
Lazy load commons images and stop fetching them in SSR mode
- 主要言語
- TypeScript
- スター
- 55
- フォーク
- 20
- 平均マージ
- 2日 6時間
- マージ済み PR(30日)
- 2
説明
## 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](https://nextjs.org/docs/app/building-your-application/optimizing/lazy-loading). The component that needs to be lazyloaded is [AletheiaAvatar.tsx](https://github.com/AletheiaFact/aletheia/blob/stage/src/components/AletheiaAvatar.tsx)
コントリビューションガイド
このリポジトリのコントリビューションガイドは索引されていません
評価
この issue はまだ評価されていません。