diff --git a/html/index.html b/html/index.html index f939760..a4c4405 100644 --- a/html/index.html +++ b/html/index.html @@ -924,6 +924,5 @@ - diff --git a/nginx.conf b/nginx.conf index 704101a..0f83b07 100644 --- a/nginx.conf +++ b/nginx.conf @@ -38,7 +38,7 @@ location /INSTANCE/globe_history/ { location /INSTANCE/chunks/ { alias /run/SERVICE/; location ~ chunk_.*\.gz$ { - add_header Cache-Control "public, max-age=1209600"; + add_header Cache-Control "public, max-age=86400"; add_header Content-Type "application/json"; add_header Content-Encoding "gzip"; } @@ -60,17 +60,17 @@ location /INSTANCE { location ~ db-.*\.js$ { gzip off; - add_header Cache-Control "public, max-age=1209600"; + add_header Cache-Control "public, max-age=7776000"; add_header Content-Encoding "gzip"; } location /INSTANCE/images { - add_header Cache-Control "public, max-age=1209600"; + add_header Cache-Control "public, max-age=7776000"; } location /INSTANCE/flags-tiny { - add_header Cache-Control "public, max-age=1209600"; + add_header Cache-Control "public, max-age=7776000"; } location ~ .*\.gif$ { - add_header Cache-Control "public, max-age=1209600"; + add_header Cache-Control "public, max-age=7776000"; } location ~ index.html$ { add_header Cache-Control "public, max-age=300"; @@ -79,9 +79,9 @@ location /INSTANCE { add_header Cache-Control "public, max-age=10"; } location ~ .*\.js$ { - add_header Cache-Control "public, max-age=1209600"; + add_header Cache-Control "public, max-age=7776000"; } location ~ .*\.css$ { - add_header Cache-Control "public, max-age=1209600"; + add_header Cache-Control "public, max-age=7776000"; } }