caching and redirection changes

This commit is contained in:
Michael Freno
2025-12-30 09:20:56 -05:00
parent 77b0b3655c
commit b07ebb05b7
4 changed files with 85 additions and 44 deletions

22
vercel.json Normal file
View 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"
}
]
}
]
}