Feature: Footer prefetch 최적화, 채팅 기능 퍼블리싱 80% #686
Merged
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.
💡 왜 PR을 올렸나요?
💁 무엇이 어떻게 바뀌나요?
일부 이미지의 최적화 및 이미지 사이즈 제한
아래는 예시로24x16의 크기가 필요한 이미지에 최적화 전에는 2048x75의 크기로 렌더링 하던 이미지를 적절하게 최적화해 이미지의 품질을 해치지 않는 크기로 렌더링한 결과입니다. 결과로 10.5KB -> 772B로 최적화 되었습니다.
ef66c05
Link의 prefetch 기능 사용
기존에 NavLink 컴포넌트에서 useRoute를 통해 라우팅을 수행했는데 prefetch 기능이 지원되는 Link로 바꾸었습니다.
이로써 초기 페이지 로딩 시 해당하는 page의 js만 가져왔지만 prefetch를 통해서 footer에 링크되어있는 page들의 js를 미리 가져올 수 있었습니다.
092c92f
💬 리뷰어분들께