Skip to content

Commit

Permalink
headers
Browse files Browse the repository at this point in the history
  • Loading branch information
yyx990803 committed Aug 24, 2022
1 parent 8f91a2a commit d7fc6ea
Showing 1 changed file with 22 additions and 0 deletions.
22 changes: 22 additions & 0 deletions vercel.json
Original file line number Diff line number Diff line change
@@ -0,0 +1,22 @@
{
"headers": [
{
"source": "/js/(.*)",
"headers": [
{
"key": "Cache-Control",
"value": "max-age=86400, s-maxage=86400"
}
]
},
{
"source": "/fonts/(.*)",
"headers": [
{
"key": "Cache-Control",
"value": "max-age=31536000, immutable"
}
]
}
]
}

1 comment on commit d7fc6ea

@vercel
Copy link

@vercel vercel bot commented on d7fc6ea Aug 24, 2022

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Please sign in to comment.