fix chunks current_* being cached incorrectly by CF

This commit is contained in:
Matthias Wirth
2024-05-14 23:04:24 +02:00
parent dd8b33df15
commit 3ad7fd52e0
2 changed files with 3 additions and 1 deletions

View File

@@ -38,7 +38,8 @@ $HTTP["url"] =~ "^/INSTANCE/chunks/chunk_.*gz$" {
$HTTP["url"] =~ "^/INSTANCE/chunks/current_.*gz$" {
setenv.add-response-header += (
"Access-Control-Allow-Origin" => "*",
"Cache-Control" => "public, no-cache",
"Cache-Control" => "must-revalidate",
"CDN-Cache-Control" => "public, no-cache",
"Content-Encoding" => "gzip",
"Content-Type" => "application/json",
)