From 8e73e76312e3f07a15119c4a6e91715bd3b0dc5a Mon Sep 17 00:00:00 2001 From: wiz Date: Sun, 20 Aug 2023 02:36:34 +0900 Subject: [PATCH] ops: Tweak proxy_cache_valid time for unfurler/slurper cache --- production/nginx/server-common.conf | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/production/nginx/server-common.conf b/production/nginx/server-common.conf index 7d6e35072..339092097 100644 --- a/production/nginx/server-common.conf +++ b/production/nginx/server-common.conf @@ -136,7 +136,7 @@ location @mempool-space-unfurler { proxy_cache_background_update on; proxy_cache_use_stale updating; proxy_cache unfurler; - proxy_cache_valid 200 30d; + proxy_cache_valid 200 1h; # will re-render page if older than this proxy_redirect off; expires 1d; @@ -153,7 +153,7 @@ location @mempool-space-slurper { proxy_cache_background_update on; proxy_cache_use_stale updating; proxy_cache slurper; - proxy_cache_valid 200 365d; + proxy_cache_valid 200 1h; # will re-render page if older than this proxy_redirect off; expires 10d;