From 029e51c8feb8b3551b6f64e703c1008265531b58 Mon Sep 17 00:00:00 2001 From: Rui Carmo Date: Tue, 27 Dec 2022 18:56:30 +0000 Subject: [PATCH] More aggressive caching (#288) --- docker/nginx.conf | 2 ++ 1 file changed, 2 insertions(+) diff --git a/docker/nginx.conf b/docker/nginx.conf index d4c95e8..d06adde 100644 --- a/docker/nginx.conf +++ b/docker/nginx.conf @@ -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;