Part of <https://www.notion.so/Gentx-like-attestation-mechanism-to-add-validators-at-genesis-time-19da6b22d47280ecbf1fe657c241ff59> - Use serve package for controlling separate cache headers for files Reviewed-on: LaconicNetwork/laconic-wallet-web#28 Co-authored-by: Nabarun <nabarun@deepstacksoft.com> Co-committed-by: Nabarun <nabarun@deepstacksoft.com>
23 lines
412 B
JSON
23 lines
412 B
JSON
{
|
|
"headers": [
|
|
{
|
|
"source": "/index.html",
|
|
"headers": [
|
|
{
|
|
"key": "Cache-Control",
|
|
"value": "no-cache, must-revalidate"
|
|
}
|
|
]
|
|
},
|
|
{
|
|
"source": "/static/**/*.{js,css,png,jpg,jpeg,gif,svg,ico}",
|
|
"headers": [
|
|
{
|
|
"key": "Cache-Control",
|
|
"value": "public, max-age=31536000, immutable"
|
|
}
|
|
]
|
|
}
|
|
]
|
|
}
|