Skip to content
This repository was archived by the owner on Dec 18, 2024. It is now read-only.

Commit 72451b3

Browse files
committed
Disable caching for index file requests.
1 parent 09f3e28 commit 72451b3

File tree

3 files changed

+366
-590
lines changed

3 files changed

+366
-590
lines changed

firebase.json

Lines changed: 10 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -6,11 +6,20 @@
66
"cleanUrls": true,
77
"rewrites": [
88
{
9-
"source": "/**/!(*.@(js|ts|html|css|json|svg|png|jpg|jpeg))",
9+
"source": "**/!(*.*)",
1010
"destination": "/index.html"
1111
}
1212
],
1313
"headers": [
14+
{
15+
"source": "**/!(*.*)",
16+
"headers": [
17+
{
18+
"key": "Cache-Control",
19+
"value": "no-cache"
20+
}
21+
]
22+
},
1423
{
1524
"source": "/assets/versions.json",
1625
"headers": [

package.json

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -77,7 +77,7 @@
7777
"eslint-plugin-import": "^2.22.1",
7878
"eslint-plugin-jsdoc": "^32.3.0",
7979
"eslint-plugin-prefer-arrow": "^1.2.3",
80-
"firebase-tools": "^9.21.0",
80+
"firebase-tools": "^11.0.1",
8181
"imagemin": "^7.0.1",
8282
"imagemin-pngquant": "^9.0.2",
8383
"jasmine-core": "^3.7.1",

0 commit comments

Comments
 (0)