testing new caching settings

This commit is contained in:
Firq 2023-07-29 13:55:48 +02:00
parent 9ec6d4a83b
commit bbb6cc11c2
Signed by: Firq
GPG key ID: 4DE1059A4666E89F

View file

@ -4,16 +4,24 @@
"etag": true, "etag": true,
"headers": [ "headers": [
{ {
"source" : "**/*.@(jpg|jpeg|gif|png|webp|svg)", "source" : "**/*.html",
"headers" : [{ "headers" : [{
"key" : "Cache-Control", "key" : "Cache-Control",
"value" : "no-cache" "value" : "no-cache"
}] }]
}, { },
"source" : "404.html", {
"source" : "**/*.css",
"headers" : [{ "headers" : [{
"key" : "Cache-Control", "key" : "Cache-Control",
"value" : "no-cache" "value" : "max-age=86400"
}]
},
{
"source" : "**/*.@(jpg|jpeg|gif|png|webp|svg)",
"headers" : [{
"key" : "Cache-Control",
"value" : "max-age=86400"
}] }]
} }
] ]