ops: Add /api/v1/fees/recommended to warm cache

This commit is contained in:
wiz 2024-01-26 10:26:28 -05:00
parent 3610908171
commit c7862e19c2
No known key found for this signature in database
GPG Key ID: A394E332255A6173
2 changed files with 4 additions and 0 deletions

View File

@ -39,6 +39,7 @@ warmUnfurlURLs=(
)
warmURLs=(
'/api/v1/fees/recommended'
'/api/v1/blocks'
'/api/v1/statistics/2h'
'/api/v1/statistics/24h'

View File

@ -22,6 +22,9 @@ location /api/v1/statistics {
location /api/v1/mining {
try_files /dev/null @mempool-api-v1-cache-warm;
}
location /api/v1/fees/recommended {
try_files /dev/null @mempool-api-v1-cache-warm;
}
# it's ok to cache blockchain data "forever", so we do 30d
location /api/v1/block/ {