diff --git a/next.config.mjs b/next.config.mjs index 22eb526..e7d7f35 100644 --- a/next.config.mjs +++ b/next.config.mjs @@ -9,20 +9,8 @@ const nextConfig = { eslint: { ignoreDuringBuilds: true, }, - async headers() { - return [ - { - source: "/_next/image", // Match the path for Next.js image requests - headers: [ - { - key: "Cache-Control", - value: "public, immutable, max-age=31536000", // Mark as immutable and set long caching - }, - ], - }, - ]; - }, images: { + minimumCacheTTL: 31536000, remotePatterns: [ { protocol: "https",