Skip to content

Commit

Permalink
Remove caching from /api/v1/activity endpoint
Browse files Browse the repository at this point in the history
  • Loading branch information
TimDaub committed Sep 26, 2024
1 parent bdd0112 commit ddf2675
Showing 1 changed file with 1 addition and 4 deletions.
5 changes: 1 addition & 4 deletions src/http.mjs
Original file line number Diff line number Diff line change
Expand Up @@ -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,
Expand Down

0 comments on commit ddf2675

Please sign in to comment.