From ab3ffa17e2b1061b30b5c298057c00ead60ad866 Mon Sep 17 00:00:00 2001 From: kumarabhirup Date: Thu, 19 Mar 2026 13:48:41 -0700 Subject: [PATCH] =?UTF-8?q?=F0=9F=91=8C=20IMPROVE:=20drop=20redundant=20Ca?= =?UTF-8?q?che-Control=20from=20next.config=20headers?= MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit force-dynamic on root layout already handles page cache busting; the blanket header risked overriding intentional API route caching. --- apps/web/next.config.ts | 8 +------- 1 file changed, 1 insertion(+), 7 deletions(-) diff --git a/apps/web/next.config.ts b/apps/web/next.config.ts index ff0157ff154..d1e1f0f8ab8 100644 --- a/apps/web/next.config.ts +++ b/apps/web/next.config.ts @@ -27,13 +27,7 @@ const nextConfig: NextConfig = { return [ { source: "/((?!_next/static|_next/image|favicon\\.ico).*)", - headers: [ - { - key: "Cache-Control", - value: "private, no-cache, no-store, max-age=0, must-revalidate", - }, - { key: "X-Denchclaw-Version", value: denchVersion }, - ], + headers: [{ key: "X-Denchclaw-Version", value: denchVersion }], }, ]; },