diff --git a/next.config.ts b/next.config.ts index 83800d6..79aca3c 100644 --- a/next.config.ts +++ b/next.config.ts @@ -86,6 +86,24 @@ const nextConfig: NextConfig = { }, ], }, + { + source: "/_next/static/:path*", + headers: [ + { key: "Cache-Control", value: "public, max-age=31536000, immutable" }, + ], + }, + { + source: "/icons/:path*", + headers: [ + { key: "Cache-Control", value: "public, max-age=31536000, immutable" }, + ], + }, + { + source: "/screenshots/:path*", + headers: [ + { key: "Cache-Control", value: "public, max-age=604800" }, + ], + }, ]; },