👌 IMPROVE: drop redundant Cache-Control from next.config headers
force-dynamic on root layout already handles page cache busting; the blanket header risked overriding intentional API route caching.
This commit is contained in:
parent
08aa0949b7
commit
ab3ffa17e2
@ -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 }],
|
||||
},
|
||||
];
|
||||
},
|
||||
|
||||
Loading…
x
Reference in New Issue
Block a user