1
mirror of https://github.com/jakejarvis/jarv.is.git synced 2025-04-26 11:05:25 -04:00
jarv.is/firebase.json

77 lines
1.6 KiB
JSON

{
"hosting": {
"public": "public",
"ignore": [
"firebase.json",
"package.json",
"Gruntfile.js",
"README.md",
"**/.DS_Store",
"**/node_modules/**",
"**/bower_components/**"
],
"headers": [
{
"source": "**/*",
"headers": [{
"key": "X-Content-Type-Options",
"value": "nosniff"
}]
},
{
"source" : "**/",
"headers": [
{
"key": "Cache-Control",
"value": "max-age=3600"
},
{
"key": "X-Content-Type-Options",
"value": "nosniff"
},
{
"key": "X-Frame-Options",
"value": "SAMEORIGIN"
},
{
"key": "X-UA-Compatible",
"value": "IE=edge"
},
{
"key": "X-XSS-Protection",
"value": "1; mode=block"
}
]
},
{
"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" : "**/*.@(ttf|otf|woff|woff2|svg|eot)",
"headers" : [{
"key" : "Cache-Control",
"value" : "max-age=2628000"
}]
},
{
"source" : "404.html",
"headers" : [{
"key" : "Cache-Control",
"value" : "max-age=3600"
}]
}
]
}
}