From 28cf4cb5b56001c61fe780fa1ee11cc67ad01113 Mon Sep 17 00:00:00 2001 From: Thomas Johnson <123108455+hawkishpolicy@users.noreply.github.com> Date: Thu, 24 Oct 2024 12:40:33 -0400 Subject: [PATCH] Edite Cache-Control headrs in app.ts (#701) - Set to no-cache, no-store, must-revalidate --- backend/src/api/app.ts | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/backend/src/api/app.ts b/backend/src/api/app.ts index e9ea583a..030991f8 100644 --- a/backend/src/api/app.ts +++ b/backend/src/api/app.ts @@ -143,7 +143,7 @@ app.use( //Middleware to set Cache-Control headers app.use((req, res, next) => { - res.setHeader('Cache-Control', 'private, must-revalidate, max-age=3600'); + res.setHeader('Cache-Control', 'no-cache, no-store, must-revalidate'); next(); });