Skip to content

Commit

Permalink
Cache /assets
Browse files Browse the repository at this point in the history
  • Loading branch information
prototypa committed Nov 6, 2022
1 parent 2d0687d commit d5351fb
Showing 1 changed file with 12 additions and 1 deletion.
13 changes: 12 additions & 1 deletion vercel.json
Original file line number Diff line number Diff line change
@@ -1,4 +1,15 @@
{
"cleanUrls": true,
"trailingSlash": false
"trailingSlash": false,
"headers": [
{
"source": "/assets/(.*)",
"headers": [
{
"key": "Cache-Control",
"value": "public, max-age=31536000, immutable"
}
]
}
]
}

0 comments on commit d5351fb

Please sign in to comment.