From e6442d930492537509ef7bd1a65805186d350232 Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?Ivar=20Conradi=20=C3=98sthus?= Date: Thu, 14 Dec 2023 10:35:21 +0100 Subject: [PATCH] fix: frontend api should use cache-control strategy 'no-cache' (#5641) --- src/lib/routes/proxy-api/index.ts | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/src/lib/routes/proxy-api/index.ts b/src/lib/routes/proxy-api/index.ts index ecbe1694ad..4fb79901f3 100644 --- a/src/lib/routes/proxy-api/index.ts +++ b/src/lib/routes/proxy-api/index.ts @@ -190,7 +190,7 @@ export default class ProxyController extends Controller { ProxyController.createContext(req), ); - res.set('Cache-control', 'public, max-age=2'); + res.set('Cache-control', 'no-cache'); this.services.openApiService.respondWithValidation( 200,