diff --git a/apps/server/src/integrations/static/static.module.ts b/apps/server/src/integrations/static/static.module.ts index 52c3c160..f0b7e831 100644 --- a/apps/server/src/integrations/static/static.module.ts +++ b/apps/server/src/integrations/static/static.module.ts @@ -71,7 +71,10 @@ export class StaticModule implements OnModuleInit { app.get(RENDER_PATH, (req: any, res: any) => { const stream = fs.createReadStream(indexFilePath); - res.type('text/html').send(stream); + res + .header('Cache-Control', 'no-cache, no-store, must-revalidate') + .type('text/html') + .send(stream); }); } }