Skip to content

Commit

Permalink
fix: cache static assets forever (#1050)
Browse files Browse the repository at this point in the history
  • Loading branch information
skyrpex authored Jan 15, 2025
1 parent 3f5733d commit d64b355
Showing 1 changed file with 13 additions and 0 deletions.
13 changes: 13 additions & 0 deletions vercel.json
Original file line number Diff line number Diff line change
@@ -0,0 +1,13 @@
{
"headers": [
{
"source": "/assets/(.*)",
"headers": [
{
"key": "Cache-Control",
"value": "public,max-age=31536000,immutable"
}
]
}
]
}

0 comments on commit d64b355

Please sign in to comment.