[Refactor] improve dashboard page performance#198
Merged
Conversation
2 tasks
|
💄 Storybook: https://674fb103b6bfad504c6f0da9-ggrikhzxyc.chromatic.com/ |
|
🎉 구현한 기능 Preview: https://front-3jyyqg8dn-beoms-projects-53e61468.vercel.app |
Member
|
오ㅠㅠㅠ 이제 봤네요... 죄송해요 |
Member
Author
오 맞아요 배포에서 확인해보려고 일단 로컬에서 해보고 머지되면 확인해보려고 했는데 별 차이 없는거같더라구요.. |
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
Add this suggestion to a batch that can be applied as a single commit.This suggestion is invalid because no changes were made to the code.Suggestions cannot be applied while the pull request is closed.Suggestions cannot be applied while viewing a subset of changes.Only one suggestion per line can be applied in a batch.Add this suggestion to a batch that can be applied as a single commit.Applying suggestions on deleted lines is not supported.You must change the existing code in this line in order to create a valid suggestion.Outdated suggestions cannot be applied.This suggestion has been applied or marked resolved.Suggestions cannot be applied from pending reviews.Suggestions cannot be applied on multi-line comments.Suggestions cannot be applied while the pull request is queued to merge.Suggestion cannot be applied right now. Please check back later.
📄 대시보드 페이지 LCP 개선
📝 변경 사항 요약
📌 관련 이슈
🔍 변경 사항 상세 설명
사용하지 않는 javascript 줄이기
대시보드 페이지를 최초 실행 했을 때 not-found.js가 98%정도 사용하지 않는 js이다.
내부에 Sidebar 컴포넌트를 동적 라우팅으로 변경한 후 다시 측정하니 대부분이 줄어들게 되었다.
또한 레이아웃에서의 사이드바도 줄였다.
preconnect 설정
preconnect, dns-prefetch를 통해 서버 응답 속도를 소폭 향상시켰다.
이전
적용후
팔로우 이미지 최적화
기존 10개씩 로드하던 api에서 6개로 줄이고
priority를 모바일 기준 보이는 3개의 이미지에만 적용시켰다.
최종적으로 LCP 2.4초 감소시켰다....
코드 가독성 개선
✅ 확인 사항
📸 스크린샷 (선택 사항)
변경 사항을 시각적으로 확인할 수 있는 스크린샷을 여기에 첨부해주세요.
기타 참고 사항
추가로 공유하고 싶은 내용이나 참고 자료가 있다면 여기에 작성해주세요.