ops: Tweak proxy_cache_valid time for unfurler/slurper cache

This commit is contained in:
wiz 2023-08-20 02:36:34 +09:00
parent 9d978ead6d
commit 8e73e76312
No known key found for this signature in database
GPG key ID: A394E332255A6173

View file

@ -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;