1 second cache age for globe json

This commit is contained in:
Matthias Wirth
2020-01-05 09:27:32 +01:00
parent 3c239bb75d
commit cbf1bbf840
2 changed files with 2 additions and 2 deletions

View File

@@ -8,7 +8,7 @@ location /INSTANCE/data/ {
add_header Cache-Control "public, max-age=10";
}
location ~ globe_.*\.json$ {
add_header Cache-Control "public, max-age=0";
add_header Cache-Control "public, max-age=1";
}
}

View File

@@ -8,7 +8,7 @@ location /data/ {
add_header Cache-Control "public, max-age=10";
}
location ~ globe_.*\.json$ {
add_header Cache-Control "public, max-age=0";
add_header Cache-Control "public, max-age=1";
}
}