Skip to content

Commit 05df0ee

Browse files
committed
Changed cache headers
1 parent 2615d7f commit 05df0ee

File tree

1 file changed

+11
-5
lines changed

1 file changed

+11
-5
lines changed

firebase.json

+11-5
Original file line numberDiff line numberDiff line change
@@ -6,11 +6,17 @@
66
"**/.*",
77
"**/node_modules/**"
88
],
9-
"hosting": {
10-
"headers": [
11-
{ "source":"dist/service-worker.js", "headers": [{"key": "Cache-Control", "value": "no-cache"}] }
12-
]
13-
},
9+
"headers": [
10+
{
11+
"source":"dist/**",
12+
"headers": [
13+
{
14+
"key": "Cache-Control",
15+
"value": "public, max-age=0"
16+
}
17+
]
18+
}
19+
],
1420
"rewrites": [
1521
{
1622
"source": "**",

0 commit comments

Comments
 (0)