mirror of
https://github.com/krahets/hello-algo.git
synced 2026-06-30 09:34:25 +00:00
105 lines
3.1 KiB
JSON
105 lines
3.1 KiB
JSON
{
|
|
"trailingSlash": true,
|
|
"headers": [
|
|
{
|
|
"source": "(/en|/zh-hant|/ja|/ru)?/assets/javascripts/bundle.(.+).min.js",
|
|
"headers": [
|
|
{
|
|
"key": "Cache-Control",
|
|
"value": "public, max-age=2592000, immutable"
|
|
}
|
|
]
|
|
},
|
|
{
|
|
"source": "(/en|/zh-hant|/ja|/ru)?/assets/javascripts/workers/search.(.+).min.js",
|
|
"headers": [
|
|
{
|
|
"key": "Cache-Control",
|
|
"value": "public, max-age=2592000, immutable"
|
|
}
|
|
]
|
|
},
|
|
{
|
|
"source": "(/en|/zh-hant|/ja|/ru)?/assets/stylesheets/(.+).css",
|
|
"headers": [
|
|
{
|
|
"key": "Cache-Control",
|
|
"value": "public, max-age=2592000, immutable"
|
|
}
|
|
]
|
|
},
|
|
{
|
|
"source": "(/en|/zh-hant|/ja|/ru)?/javascripts/mathjax.js",
|
|
"headers": [
|
|
{
|
|
"key": "Cache-Control",
|
|
"value": "public, max-age=2592000, immutable"
|
|
}
|
|
]
|
|
},
|
|
{
|
|
"source": "(/en|/zh-hant|/ja|/ru)?/assets/images/(.+).(svg|png)",
|
|
"headers": [
|
|
{
|
|
"key": "Cache-Control",
|
|
"value": "public, max-age=2592000, immutable"
|
|
}
|
|
]
|
|
},
|
|
{
|
|
"source": "(/en|/zh-hant|/ja|/ru)?/stylesheets/extra.css",
|
|
"headers": [
|
|
{
|
|
"key": "Cache-Control",
|
|
"value": "public, max-age=2592000, immutable"
|
|
}
|
|
]
|
|
},
|
|
{
|
|
"source": "(/en|/zh-hant|/ja|/ru)?/search.json",
|
|
"headers": [
|
|
{
|
|
"key": "Cache-Control",
|
|
"value": "public, max-age=2592000, immutable"
|
|
}
|
|
]
|
|
},
|
|
{
|
|
"source": "(/en|/zh-hant|/ja|/ru)?/chapter_(.+)/(.+)\\.assets/(.+)\\.(png|jpg|svg|gif|webp|ico)",
|
|
"headers": [
|
|
{
|
|
"key": "Cache-Control",
|
|
"value": "public, max-age=2592000, immutable"
|
|
}
|
|
]
|
|
},
|
|
{
|
|
"source": "(/en|/zh-hant|/ja|/ru)?/(.+)\\.assets/(.+)\\.(png|jpg|svg|gif|webp|ico)",
|
|
"headers": [
|
|
{
|
|
"key": "Cache-Control",
|
|
"value": "public, max-age=2592000, immutable"
|
|
}
|
|
]
|
|
},
|
|
{
|
|
"source": "(/en|/zh-hant|/ja|/ru)?/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"
|
|
}
|
|
]
|
|
}
|
|
]
|
|
}
|