From f9aeebfca6e5c8456cc61658c81b6afdc91eb7af Mon Sep 17 00:00:00 2001 From: Jonas Braathen Date: Mon, 22 Jun 2026 00:07:46 +0200 Subject: [PATCH] set a minimum cache ttl for cached next.js images --- web/next.config.mjs | 1 + 1 file changed, 1 insertion(+) diff --git a/web/next.config.mjs b/web/next.config.mjs index d9de737..0f8cd10 100644 --- a/web/next.config.mjs +++ b/web/next.config.mjs @@ -17,6 +17,7 @@ const nextConfig = { }, ], formats: ["image/avif", "image/webp"], + minimumCacheTTL: 7 * 24 * 60 * 60, // 7 days dangerouslyAllowLocalIP: process.env.NODE_ENV === "development", }, turbopack: {