diff --git a/next.config.mjs b/next.config.mjs index 9bab506..76202ac 100644 --- a/next.config.mjs +++ b/next.config.mjs @@ -103,6 +103,15 @@ const nextConfig = { }, ], }, + { + source: "/articles/:path*\\.pdf", + headers: [ + { + key: "Cache-Control", + value: "public, max-age=0, must-revalidate", + }, + ], + }, ] }, // Configure compiler for modern browsers