chore/Firebase Hosting, GitHub Actions 파일 추가#25
Conversation
Summary of ChangesHello @wnsgh7368, I'm Gemini Code Assist1! I'm currently reviewing this pull request and will post my feedback shortly. In the meantime, here's a summary to help you and other reviewers quickly get up to speed! 이 Pull Request는 프로젝트의 Firebase 호스팅 환경을 설정하는 데 중점을 둡니다. Highlights
Ignored Files
Using Gemini Code AssistThe full guide for Gemini Code Assist can be found on our documentation page, here are some quick tips. Invoking Gemini You can request assistance from Gemini at any point by creating a comment using either
Customization To customize Gemini Code Assist for GitHub experience, repository maintainers can create a configuration file and/or provide a custom code review style guide (such as PEP-8 for Python) by creating and adding files to a Limitations & Feedback Gemini Code Assist may make mistakes. Please leave feedback on any instances where its feedback is incorrect or counter productive. You can react with 👍 and 👎 on @gemini-code-assist comments. If you're interested in giving your feedback about your experience with Gemini Code Assist for Github and other Google products, sign up here. You can also get AI-powered code generation, chat, as well as code reviews directly in the IDE at no cost with the Gemini Code Assist IDE Extension. Footnotes
|
|
Visit the preview URL for this PR (updated for commit e172de8): https://ttorang--pr25-chore-firebase-hosti-20elo2bs.web.app (expires Sat, 10 Jan 2026 07:56:41 GMT) 🔥 via Firebase Hosting GitHub Action 🌎 Sign: b554669f2531ae9a6954d553a841ad9a6c4ceb6d |
| "rewrites": [ | ||
| { | ||
| "source": "**", | ||
| "destination": "/index.html" | ||
| } | ||
| ] |
There was a problem hiding this comment.
Firebase 호스팅 설정에 캐시 제어 헤더를 추가하여 성능을 최적화하는 것을 제안합니다. Vite는 빌드 시 에셋 파일(JS, CSS 등)에 고유한 해시를 포함하므로, 이 파일들은 브라우저에 오래 캐시하여 로딩 속도를 높일 수 있습니다. 반면, index.html 파일은 캐시하지 않아야 사용자가 배포 시 항상 최신 버전의 애플리케이션을 받을 수 있습니다.
다음과 같이 headers 설정을 추가하여 캐시 동작을 명시적으로 제어할 수 있습니다.
"rewrites": [
{
"source": "**",
"destination": "/index.html"
}
],
"headers": [
{
"source": "**/!(*.html)",
"headers": [
{
"key": "Cache-Control",
"value": "public, max-age=31536000, immutable"
}
]
},
{
"source": "**/*.html",
"headers": [
{
"key": "Cache-Control",
"value": "no-cache, no-store, must-revalidate"
}
]
}
]
📌 관련 이슈
✨ 변경 내용