mirror of
https://github.com/mempool/mempool.git
synced 2025-03-03 17:47:01 +01:00
ops: Tweak proxy_cache_valid time for unfurler/slurper cache
This commit is contained in:
parent
9d978ead6d
commit
8e73e76312
1 changed files with 2 additions and 2 deletions
|
@ -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;
|
||||
|
|
Loading…
Add table
Reference in a new issue