mirror of
https://github.com/mempool/mempool.git
synced 2025-04-09 04:18:27 +02:00
ops: Set expires -1 header on 2s server cached responses
This commit is contained in:
parent
803b005880
commit
aca2f2ec7d
@ -140,7 +140,8 @@ location @mempool-api-v1-cache-normal {
|
||||
proxy_cache_valid 200 2s;
|
||||
proxy_redirect off;
|
||||
|
||||
expires 2s;
|
||||
# cache for 2 seconds on server, but send expires -1 so browser doesn't cache
|
||||
expires -1;
|
||||
}
|
||||
|
||||
location @mempool-api-v1-cache-disabled {
|
||||
|
Loading…
x
Reference in New Issue
Block a user