static 밑에 폴더 헤더정보 보내는 방법
nuxt 에서 static 밑에 폴더 헤더정보 보내는 방법 //nuxt.config.js render: { static: { // 여기서 static 폴더 아래에 파일들에 대한 header 정보를 담을 수 있음. setHeaders(res, path, stat) { if (path.indexof('.css') > -1) { res.setHeader('Cache-Control', 'public, max-age=604800') } }
개발../Nuxtjs
2023. 1. 25. 13:49
공지사항
최근에 올라온 글
최근에 달린 댓글
- Total
- Today
- Yesterday
링크
TAG
- Zustand
- 오블완
- vue router
- Github Actions
- nuxt2
- openAI
- 깃허브
- Git
- React
- ChatGPT
- 네이버 서치 어드바이저
- svelte
- seo
- vue composition api
- 티스토리챌린지
- nextjs13
- dockerfile
- vscode
- nextjs14
- cors
- nextjs15
- NUXT
- AWS
- 타입스크립트
- NextJS
- 스벨트
- Vite
- nodejs
- github
- 서버 to 서버
일 | 월 | 화 | 수 | 목 | 금 | 토 |
---|---|---|---|---|---|---|
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 |
글 보관함