반응형
Notice
Recent Posts
Recent Comments
Link
일 | 월 | 화 | 수 | 목 | 금 | 토 |
---|---|---|---|---|---|---|
1 | 2 | 3 | 4 | 5 | ||
6 | 7 | 8 | 9 | 10 | 11 | 12 |
13 | 14 | 15 | 16 | 17 | 18 | 19 |
20 | 21 | 22 | 23 | 24 | 25 | 26 |
27 | 28 | 29 | 30 |
Tags
- TLS
- CloudFlare
- caching
- vue
- JavaScript
- e2e
- custom command
- CSS
- svelte
- http3
- devtools
- import.meta.env
- Testing
- web vital
- SSR
- vue-cli
- vue3
- ts error
- Cypress
- aws
- rendering
- https
- 선택자
- api test
- msw
- 비동기
- ViTE
- QUIC
- typeScript
- csr
Archives
- Today
- Total
목록chunk hash (1)
Develop Note by J.S.
[Vue-cli] 빌드 배포 시 Chunk 캐시 (with. Chunk Hash)
배포 시 남아있는 Cache로 인해 각 chunk 파일들이 cache된 파일을 다운받아 즉각적으로 수정내용이 반영되지 않아 보이는 경우에는 Output 파일에 hash값을 추가하면 해결 할 수 있습니다. module.exports = { configureWebpack: (config) => { config.output.filename = 'js/[name].[chunkhash].js'; config.output.chunkFilename = 'js/[name].[chunkhash].js'; }, }
FrontEnd/Vite&Vue-cli
2023. 7. 28. 14:36