From ddf26752f8b11c881c6e8eadcfa182831a3c6eb6 Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?Tim=20Daubensch=C3=BCtz?= Date: Thu, 26 Sep 2024 11:51:27 +0200 Subject: [PATCH] Remove caching from /api/v1/activity endpoint --- src/http.mjs | 5 +---- 1 file changed, 1 insertion(+), 4 deletions(-) diff --git a/src/http.mjs b/src/http.mjs index 4dda4ba..964e8e4 100644 --- a/src/http.mjs +++ b/src/http.mjs @@ -825,10 +825,7 @@ export async function launch(trie, libp2p) { const httpMessage = "OK"; const details = "Notifications feed"; - reply.header( - "Cache-Control", - "public, max-age=300, no-transform, must-revalidate", - ); + reply.header("Cache-Control", "no-cache"); return sendStatus(reply, code, httpMessage, details, { notifications: data.notifications, lastServerValue: data.latestValue,