diff --git a/next.config.ts b/next.config.ts index 46b54f4..2c05905 100644 --- a/next.config.ts +++ b/next.config.ts @@ -41,6 +41,24 @@ const nextConfig: NextConfig = { formats: ['image/webp', 'image/avif'], minimumCacheTTL: 60, }, + + // Disable static generation for dynamic routes + generateStaticParams: false, + + // Add cache-busting headers + async headers() { + return [ + { + source: '/(.*)', + headers: [ + { + key: 'Cache-Control', + value: 'public, max-age=0, must-revalidate', + }, + ], + }, + ]; + }, }; import bundleAnalyzer from "@next/bundle-analyzer";