Skip to content

Commit

Permalink
Update vercel.json and added scripts to be cached
Browse files Browse the repository at this point in the history
  • Loading branch information
samithaf authored Aug 26, 2024
1 parent 9d1d45c commit 2cfb20e
Showing 1 changed file with 17 additions and 0 deletions.
17 changes: 17 additions & 0 deletions apps/site/vercel.json
Original file line number Diff line number Diff line change
Expand Up @@ -77,6 +77,23 @@
"value": "public, max-age=31536000, immutable"
}
]
},
{
"source": "/scripts/(.*)",
"headers": [
{
"key": "Vercel-CDN-Cache-Control",
"value": "max-age=3600"
},
{
"key": "CDN-Cache-Control",
"value": "max-age=3600"
},
{
"key": "Cache-Control",
"value": "public, max-age=31536000, immutable"
}
]
}
]
}

0 comments on commit 2cfb20e

Please sign in to comment.