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
1 changed files with 2 additions and 0 deletions

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;