caching and redirection changes
This commit is contained in:
22
vercel.json
Normal file
22
vercel.json
Normal file
@@ -0,0 +1,22 @@
|
||||
{
|
||||
"headers": [
|
||||
{
|
||||
"source": "/(.*)",
|
||||
"headers": [
|
||||
{
|
||||
"key": "Cache-Control",
|
||||
"value": "public, max-age=0, stale-while-revalidate=60"
|
||||
}
|
||||
]
|
||||
},
|
||||
{
|
||||
"source": "/_build/(.*)",
|
||||
"headers": [
|
||||
{
|
||||
"key": "Cache-Control",
|
||||
"value": "public, max-age=31536000, immutable"
|
||||
}
|
||||
]
|
||||
}
|
||||
]
|
||||
}
|
||||
Reference in New Issue
Block a user