diff --git a/next.config.ts b/next.config.ts index 47d962f..2a8fbc2 100644 --- a/next.config.ts +++ b/next.config.ts @@ -79,6 +79,16 @@ const nextConfig: NextConfig = { source: "/(.*)", headers: securityHeaders, }, + { + // vídeos da vitrine (46 MB): sem o hash no nome, um dia de cache e revalidação em segundo plano na semana seguinte + source: "/videos/:path*", + headers: [ + { + key: "Cache-Control", + value: "public, max-age=86400, stale-while-revalidate=604800", + }, + ], + }, ]; },