Skip to content

Commit

Permalink
Remove stale revalidation logic from /new
Browse files Browse the repository at this point in the history
  • Loading branch information
TimDaub committed Sep 28, 2024
1 parent 983cd62 commit cc09f7b
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion src/http.mjs
Original file line number Diff line number Diff line change
Expand Up @@ -628,7 +628,7 @@ export async function launch(trie, libp2p) {
if (request.query.cached) {
reply.header(
"Cache-Control",
"public, max-age=1, no-transform, must-revalidate, stale-while-revalidate=5",
"public, max-age=5, no-transform, must-revalidate",
);
} else {
reply.header("Cache-Control", "no-cache");
Expand Down

0 comments on commit cc09f7b

Please sign in to comment.