mirror of
https://github.com/jointakahe/takahe.git
synced 2024-11-22 15:21:01 +00:00
More aggressive caching (#288)
This commit is contained in:
parent
f6e49e8059
commit
029e51c8fe
1 changed files with 2 additions and 0 deletions
|
@ -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;
|
||||
|
|
Loading…
Reference in a new issue