resolve database caching issues
This commit is contained in:
@@ -18,7 +18,7 @@ location /INSTANCE/data/ {
|
||||
}
|
||||
location ~ globe_.*\.json$ {
|
||||
gzip off;
|
||||
add_header Cache-Control "public, max-age=2";
|
||||
add_header Cache-Control "public, max-age=0";
|
||||
add_header Content-Encoding "gzip";
|
||||
}
|
||||
}
|
||||
@@ -53,8 +53,8 @@ location /INSTANCE {
|
||||
|
||||
gzip_static on;
|
||||
|
||||
location ~ db2/.*\.json$ {
|
||||
add_header Cache-Control "public, max-age=100000";
|
||||
location ~ db.*\.json$ {
|
||||
add_header Cache-Control "public, max-age=1209600";
|
||||
}
|
||||
location ~ .*\.png$ {
|
||||
add_header Cache-Control "public, max-age=1209600";
|
||||
|
||||
Reference in New Issue
Block a user