Files
hello-algo/vercel.json
krahets 1bbfde55c8 deploy
2026-11-04 01:07:29 +08:00

123 lines
3.7 KiB
JSON

{
"trailingSlash": true,
"headers": [
{
"source": "/assets/home/(.+)",
"headers": [
{
"key": "Cache-Control",
"value": "public, max-age=31536000, immutable"
}
]
},
{
"source": "(/en|/zh-hant|/ja|/ru|/ko)?/",
"headers": [
{
"key": "Cache-Control",
"value": "public, max-age=0, must-revalidate"
}
]
},
{
"source": "(/en|/zh-hant|/ja|/ru|/ko)?/assets/javascripts/bundle.(.+).min.js",
"headers": [
{
"key": "Cache-Control",
"value": "public, max-age=2592000, immutable"
}
]
},
{
"source": "(/en|/zh-hant|/ja|/ru|/ko)?/assets/javascripts/workers/search.(.+).min.js",
"headers": [
{
"key": "Cache-Control",
"value": "public, max-age=2592000, immutable"
}
]
},
{
"source": "(/en|/zh-hant|/ja|/ru|/ko)?/assets/stylesheets/(.+).css",
"headers": [
{
"key": "Cache-Control",
"value": "public, max-age=2592000, immutable"
}
]
},
{
"source": "(/en|/zh-hant|/ja|/ru|/ko)?/javascripts/mathjax.js",
"headers": [
{
"key": "Cache-Control",
"value": "public, max-age=2592000, immutable"
}
]
},
{
"source": "(/en|/zh-hant|/ja|/ru|/ko)?/assets/images/(.+).(svg|png)",
"headers": [
{
"key": "Cache-Control",
"value": "public, max-age=2592000, immutable"
}
]
},
{
"source": "(/en|/zh-hant|/ja|/ru|/ko)?/stylesheets/extra.css",
"headers": [
{
"key": "Cache-Control",
"value": "public, max-age=2592000, immutable"
}
]
},
{
"source": "(/en|/zh-hant|/ja|/ru|/ko)?/search.json",
"headers": [
{
"key": "Cache-Control",
"value": "public, max-age=2592000, immutable"
}
]
},
{
"source": "(/en|/zh-hant|/ja|/ru|/ko)?/chapter_(.+)/(.+)\\.assets/(.+)\\.(png|jpg|svg|gif|webp|ico)",
"headers": [
{
"key": "Cache-Control",
"value": "public, max-age=2592000, immutable"
}
]
},
{
"source": "(/en|/zh-hant|/ja|/ru|/ko)?/(.+)\\.assets/(.+)\\.(png|jpg|svg|gif|webp|ico)",
"headers": [
{
"key": "Cache-Control",
"value": "public, max-age=2592000, immutable"
}
]
},
{
"source": "(/en|/zh-hant|/ja|/ru|/ko)?/assets/(hero|covers|avatar)/(.+)\\.(png|jpg|svg|gif|webp|ico)",
"headers": [
{
"key": "Cache-Control",
"value": "public, max-age=2592000, immutable"
}
]
},
{
"source": "/auth",
"headers": [
{
"key": "Cache-Control",
"value": "public, max-age=31536000, immutable"
}
]
}
]
}