mirror of
https://github.com/jakejarvis/jarv.is.git
synced 2026-09-10 16:05:32 -04:00
longer webfont caching
This commit is contained in:
+11
-4
@@ -25,7 +25,7 @@
|
|||||||
"headers": [
|
"headers": [
|
||||||
{
|
{
|
||||||
"key": "Cache-Control",
|
"key": "Cache-Control",
|
||||||
"value": "max-age=180"
|
"value": "max-age=3600"
|
||||||
},
|
},
|
||||||
{
|
{
|
||||||
"key": "X-Content-Type-Options",
|
"key": "X-Content-Type-Options",
|
||||||
@@ -33,11 +33,11 @@
|
|||||||
},
|
},
|
||||||
{
|
{
|
||||||
"key": "X-Frame-Options",
|
"key": "X-Frame-Options",
|
||||||
"value": "DENY"
|
"value": "SAMEORIGIN"
|
||||||
},
|
},
|
||||||
{
|
{
|
||||||
"key": "X-UA-Compatible",
|
"key": "X-UA-Compatible",
|
||||||
"value": "ie=edge"
|
"value": "IE=edge"
|
||||||
},
|
},
|
||||||
{
|
{
|
||||||
"key": "X-XSS-Protection",
|
"key": "X-XSS-Protection",
|
||||||
@@ -59,11 +59,18 @@
|
|||||||
"value" : "max-age=86400"
|
"value" : "max-age=86400"
|
||||||
}]
|
}]
|
||||||
},
|
},
|
||||||
|
{
|
||||||
|
"source" : "**/*.@(ttf|otf|woff|woff2|svg|eot)",
|
||||||
|
"headers" : [{
|
||||||
|
"key" : "Cache-Control",
|
||||||
|
"value" : "max-age=2628000"
|
||||||
|
}]
|
||||||
|
},
|
||||||
{
|
{
|
||||||
"source" : "404.html",
|
"source" : "404.html",
|
||||||
"headers" : [{
|
"headers" : [{
|
||||||
"key" : "Cache-Control",
|
"key" : "Cache-Control",
|
||||||
"value" : "max-age=300"
|
"value" : "max-age=3600"
|
||||||
}]
|
}]
|
||||||
}
|
}
|
||||||
]
|
]
|
||||||
|
|||||||
Reference in New Issue
Block a user