1
mirror of https://github.com/jakejarvis/jarv.is.git synced 2025-07-23 02:21:16 -04:00

http header tweaks

This commit is contained in:
2018-11-20 14:54:03 -05:00
parent 97cd4782d9
commit 16ed2b69e2
2 changed files with 45 additions and 31 deletions

View File

@@ -23,12 +23,7 @@
{
"key": "Expect-CT",
"value": "max-age=0, report-uri=https://jakejarvis.report-uri.com/r/d/ct/reportOnly"
}
]
},
{
"source" : "**",
"headers": [
},
{
"key": "Cache-Control",
"value": "max-age=3600"
@@ -60,39 +55,57 @@
]
},
{
"source" : "**/*.@(jpg|jpeg|gif|png|ico)",
"headers" : [{
"key" : "Cache-Control",
"value" : "max-age=604800"
}]
"source": "**/*.@(jpg|jpeg|gif|png|ico)",
"headers": [
{
"key": "Cache-Control",
"value": "max-age=604800"
}
]
},
{
"source" : "**/*.@(css|js)",
"headers" : [{
"key" : "Cache-Control",
"value" : "max-age=86400"
}]
"source": "**/*.@(css|js)",
"headers": [
{
"key": "Cache-Control",
"value": "max-age=86400"
}
]
},
{
"source" : "**/*.@(ttf|otf|woff|woff2|svg|eot)",
"headers" : [{
"key" : "Cache-Control",
"value" : "max-age=2628000"
}]
"source": "**/*.@(ttf|otf|woff|woff2|svg|eot)",
"headers": [
{
"key": "Cache-Control",
"value": "max-age=2628000"
}
]
},
{
"source" : "**/*.asc",
"headers" : [{
"key" : "Content-Type",
"value" : "text/plain"
}]
"source": "jarvis.asc",
"headers": [
{
"key": "Cache-Control",
"value": "max-age=2628000"
},
{
"key": "Content-Type",
"value": "text/plain; charset=utf-8"
},
{
"key": "Content-Disposition",
"value": "inline; filename=\"jarvis.asc\""
}
]
},
{
"source" : "404.html",
"headers" : [{
"key" : "Cache-Control",
"value" : "max-age=3600"
}]
"source": "404.html",
"headers": [
{
"key": "Cache-Control",
"value": "max-age=3600"
}
]
}
]
}