ops: Set cache time for /api/v1 endpoints to 2 sec

This commit is contained in:
wiz 2023-06-16 17:15:31 -07:00
parent 0fb92e6ebb
commit 39bde61538
No known key found for this signature in database
GPG Key ID: A394E332255A6173

View File

@ -97,10 +97,10 @@ location @mempool-api-v1-cache-normal {
proxy_set_header X-Forwarded-Proto $scheme;
proxy_cache api;
proxy_cache_valid 200 10s;
proxy_cache_valid 200 2s;
proxy_redirect off;
expires 10s;
expires 2s;
}
location @mempool-api-v1-cache-disabled {