Skip to content

Commit

Permalink
chore: allow serving stale assets
Browse files Browse the repository at this point in the history
  • Loading branch information
KaelWD committed Sep 4, 2024
1 parent 6a3285f commit 9d7a2a2
Showing 1 changed file with 3 additions and 3 deletions.
6 changes: 3 additions & 3 deletions vercel.json
Original file line number Diff line number Diff line change
Expand Up @@ -27,7 +27,7 @@
"headers" : [
{
"key" : "Cache-Control",
"value" : "public, max-age=31536000, immutable"
"value" : "public, immutable, max-age=31536000, stale-if-error=604800"
}
]
},
Expand All @@ -36,11 +36,11 @@
"headers" : [
{
"key" : "Cache-Control",
"value" : "public, max-age=0, s-maxage=10, must-revalidate"
"value" : "public, max-age=0, s-maxage=60, must-revalidate"
},
{
"key" : "CDN-Cache-Control",
"value" : "max-age=10"
"value" : "max-age=60"
}
]
}
Expand Down

0 comments on commit 9d7a2a2

Please sign in to comment.