More aggressive caching (#288)

This commit is contained in:
Rui Carmo 2022-12-27 18:56:30 +00:00 committed by GitHub
parent f6e49e8059
commit 029e51c8fe
No known key found for this signature in database
GPG key ID: 4AEE18F83AFDEB23

View file

@ -97,6 +97,8 @@ http {
# Cache these responses too
proxy_cache takahe;
# Cache after a single request
proxy_cache_min_uses 1;
proxy_cache_key $takahe_realuri;
proxy_cache_valid 200 304 720h;
proxy_cache_valid 301 307 12h;