From cbf1bbf840007d5dcac2642b9948d933d0af50d1 Mon Sep 17 00:00:00 2001 From: Matthias Wirth Date: Sun, 5 Jan 2020 09:27:32 +0100 Subject: [PATCH] 1 second cache age for globe json --- nginx.conf | 2 +- nginx_webroot.conf | 2 +- 2 files changed, 2 insertions(+), 2 deletions(-) diff --git a/nginx.conf b/nginx.conf index 6b24679..8d70bf7 100644 --- a/nginx.conf +++ b/nginx.conf @@ -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"; } } diff --git a/nginx_webroot.conf b/nginx_webroot.conf index 8c134a0..b17b54d 100644 --- a/nginx_webroot.conf +++ b/nginx_webroot.conf @@ -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"; } }