Frontend: Reduce API Proxy Cache time
Signed-off-by: Fred Boniface <fred@fjla.uk>
This commit is contained in:
parent
07d281a56b
commit
c4ad5a32f0
@ -39,7 +39,7 @@ http {
|
|||||||
proxy_pass http://localhost:8460;
|
proxy_pass http://localhost:8460;
|
||||||
proxy_cache_key $scheme://$host$uri$is_args$query_string;
|
proxy_cache_key $scheme://$host$uri$is_args$query_string;
|
||||||
proxy_ignore_headers Cache-Control;
|
proxy_ignore_headers Cache-Control;
|
||||||
proxy_cache_valid 200 20m; # Change to 1m for release.
|
proxy_cache_valid 200 2m; # Evaluate whether 2m or 1m is more appropriate
|
||||||
gzip on;
|
gzip on;
|
||||||
brotli on;
|
brotli on;
|
||||||
}
|
}
|
||||||
|
Reference in New Issue
Block a user