diff --git a/apps/readest-app/next.config.mjs b/apps/readest-app/next.config.mjs index 588bbc0a..cc0d8fb1 100644 --- a/apps/readest-app/next.config.mjs +++ b/apps/readest-app/next.config.mjs @@ -55,7 +55,9 @@ const nextConfig = { headers: [ { key: 'Cache-Control', - value: 'public, max-age=31536000, immutable', + value: isDev + ? 'public, max-age=0, must-revalidate' + : 'public, max-age=31536000, immutable', }, ], },