Skip to content

Commit

Permalink
#14 일부 무거운 정적 파일에 대해서 1시간 캐싱 활성
Browse files Browse the repository at this point in the history
  • Loading branch information
stories2 committed Jun 24, 2021
1 parent 64f3352 commit 91fdc54
Showing 1 changed file with 11 additions and 1 deletion.
12 changes: 11 additions & 1 deletion firebase.json
Original file line number Diff line number Diff line change
Expand Up @@ -18,13 +18,23 @@
},
{
"source":
"**/*.@(jpg|jpeg|gif|png|svg|webp|js|css|eot|otf|ttf|ttc|woff|woff2|font.css)",
"**/*.@(js|css|html)",
"headers": [
{
"key": "Cache-Control",
"value": "no-cache, no-store, must-revalidate"
}
]
},
{
"source":
"**/*.@(jpg|jpeg|gif|png|svg|webp|eot|otf|ttf|ttc|woff|woff2)",
"headers": [
{
"key": "Cache-Control",
"value": "public, max-age=3600, s-maxage=3600"
}
]
}
]
}
Expand Down

0 comments on commit 91fdc54

Please sign in to comment.