More aggressive caching (#288)
This commit is contained in:
parent
f6e49e8059
commit
029e51c8fe
|
@ -97,6 +97,8 @@ http {
|
||||||
|
|
||||||
# Cache these responses too
|
# Cache these responses too
|
||||||
proxy_cache takahe;
|
proxy_cache takahe;
|
||||||
|
# Cache after a single request
|
||||||
|
proxy_cache_min_uses 1;
|
||||||
proxy_cache_key $takahe_realuri;
|
proxy_cache_key $takahe_realuri;
|
||||||
proxy_cache_valid 200 304 720h;
|
proxy_cache_valid 200 304 720h;
|
||||||
proxy_cache_valid 301 307 12h;
|
proxy_cache_valid 301 307 12h;
|
||||||
|
|
Loading…
Reference in New Issue