diff --git a/next.config.ts b/next.config.ts index 1150341..36a22a4 100644 --- a/next.config.ts +++ b/next.config.ts @@ -6,6 +6,17 @@ const config: NextConfig = { turbopack: { root: __dirname, }, + // /public defaults to `max-age=0, must-revalidate`; pin the stable /home/* covers + first-act JSON for 1y so browsers/CDN stop re-downloading them. + async headers() { + return [ + { + source: "/home/:path*", + headers: [ + { key: "Cache-Control", value: "public, max-age=31536000, immutable" }, + ], + }, + ]; + }, }; export default config;