[UNI-312] feat : 정적 파일 Gzip, Brotli 압축을 통한 웹페이지 다운로드 속도 개선#211
Merged
Conversation
dgfh0450
approved these changes
Feb 21, 2025
Contributor
dgfh0450
left a comment
There was a problem hiding this comment.
LGTM! 인프라에 대해 더 배워가는 것 같습니다. 저런 파일들을 압축해서 제공하는 것이 신기합니다....
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.
📝 PR 타입
🚀 변경 사항
Gzip, Brotli 압축으로 더 빠르게 서빙할 수 있도록 nginx 설정 적용
vite-compression-plugin 사용해 gzip 및 br 파일 생성
1024byte(1KB) 미만의 파일들은 brotli 압축하지 않습니다.
💡 To Reviewer
감사합니다.
🧪 테스트 결과
LightHouse 점수 측정
적용 전
랜딩 페이지 (FCP 1.4s, 71점)
지도 메인 페이지 (FCP 3.0s)
적용 후
랜딩 페이지(FCP 1.4s, 74점->91점)
지도 메인 페이지(FCP 1.4s)
다운로드한 자원 측정
적용 전 (751kb)
적용 후 (390kb, 48% 감소)
✅ 반영 브랜치
fe