You can not select more than 25 topics Topics must start with a letter or number, can include dashes ('-') and can be up to 35 characters long.
hello-algo/vercel.json

94 lines
2.8 KiB

{
"headers": [
{
"source": "(/en|/zh-hant)?/assets/javascripts/bundle.(.+).min.js",
"headers": [
{
"key": "Cache-Control",
"value": "public, max-age=604800, must-revalidate"
}
]
},
{
"source": "(/en|/zh-hant)?/assets/javascripts/workers/search.(.+).min.js",
"headers": [
{
"key": "Cache-Control",
"value": "public, max-age=604800, must-revalidate"
}
]
},
{
"source": "(/en|/zh-hant)?/assets/javascripts/glightbox.min.js",
"headers": [
{
"key": "Cache-Control",
"value": "public, max-age=604800, must-revalidate"
}
]
},
{
"source": "(/en|/zh-hant)?/assets/stylesheets/(.+).css",
"headers": [
{
"key": "Cache-Control",
"value": "public, max-age=604800, must-revalidate"
}
]
},
{
"source": "(/en|/zh-hant)?/javascripts/mathjax.js",
"headers": [
{
"key": "Cache-Control",
"value": "public, max-age=86400, must-revalidate"
}
]
},
{
"source": "(/en|/zh-hant)?/assets/images/(.+).(svg|png)",
"headers": [
{
"key": "Cache-Control",
"value": "public, max-age=86400, must-revalidate"
}
]
},
{
"source": "(/en|/zh-hant)?/stylesheets/extra.css",
"headers": [
{
"key": "Cache-Control",
"value": "public, max-age=86400, must-revalidate"
}
]
},
{
"source": "(/en|/zh-hant)?/search/search_index.json",
"headers": [
{
"key": "Cache-Control",
"value": "public, max-age=86400, must-revalidate"
}
]
},
{
"source": "(/en|/zh-hant)?/chapter_(.+)/(.+).assets/(.+).(png|jpg|svg|gif|webp)",
"headers": [
{
"key": "Cache-Control",
"value": "public, max-age=3600, must-revalidate"
}
]
},
{
"source": "(/en|/zh-hant)?/assets/(hero|covers|avatar|)/(.+).(png|jpg|svg|gif|webp)",
"headers": [
{
"key": "Cache-Control",
"value": "public, max-age=3600, must-revalidate"
}
]
}
]
}