perf: SSR 테마 레이아웃 최적화#209
Merged
Merged
Conversation
- import.meta.glob({ eager: true })로 빌드 시점에 테마 번들 포함
- 동적 import 제거로 invisible 대기 시간 0ms로 개선
- themeLoadFailed 상태 및 2초 타임아웃 로직 제거
- LCP/FCP 개선, Hydration mismatch 방지
Contributor
Staging 배포 완료URL: https://dev.damoang.net
|
sdk-kr
added a commit
that referenced
this pull request
Mar 7, 2026
## Summary
- import.meta.glob({ eager: true })로 빌드 시점에 테마 번들 포함
- 동적 import 제거로 invisible 대기 시간 0ms로 개선
- themeLoadFailed 상태 및 2초 타임아웃 로직 제거
- LCP/FCP 개선, Hydration mismatch 방지
## 성능 개선 효과
| 지표 | 이전 | 이후 |
|------|------|------|
| invisible 대기 시간 | 최대 2초 | 0ms |
| 테마 레이아웃 로딩 | 동적 import (클라이언트) | SSR 시점 즉시 |
| Hydration mismatch | 발생 가능 | 방지 |
## Test plan
- [x] dev.damoang.net에서 테스트 완료
- [x] 빌드 테스트 통과
- [ ] 운영 배포 후 LCP/FCP 측정
Co-authored-by: Deploy Bot <deploy@damoang.net>
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.
Summary
성능 개선 효과
Test plan