1
mirror of https://github.com/jakejarvis/jarv.is.git synced 2025-04-26 04:45:22 -04:00

longer webfont caching

This commit is contained in:
Jake Jarvis 2018-03-22 14:37:58 -04:00
parent c7534c06ce
commit 27dd732e14

View File

@ -25,7 +25,7 @@
"headers": [
{
"key": "Cache-Control",
"value": "max-age=180"
"value": "max-age=3600"
},
{
"key": "X-Content-Type-Options",
@ -33,11 +33,11 @@
},
{
"key": "X-Frame-Options",
"value": "DENY"
"value": "SAMEORIGIN"
},
{
"key": "X-UA-Compatible",
"value": "ie=edge"
"value": "IE=edge"
},
{
"key": "X-XSS-Protection",
@ -59,11 +59,18 @@
"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=300"
"value" : "max-age=3600"
}]
}
]