From 6009f7725f6283f80338e6021d7673be685e3d54 Mon Sep 17 00:00:00 2001 From: luke miles Date: Fri, 21 Jul 2023 13:41:04 -0700 Subject: [PATCH] tree: longer ttl (#110) --- api/tree.go | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/api/tree.go b/api/tree.go index b2a36f9..e99636d 100644 --- a/api/tree.go +++ b/api/tree.go @@ -256,6 +256,6 @@ func (s *Server) GetTree(w http.ResponseWriter, r *http.Request) { tr.LeafCount = len(tr.UnhashedLeaves) - w.Header().Set("Cache-Control", "public, max-age=5") + w.Header().Set("Cache-Control", "public, max-age=86400") s.sendJSON(r, w, tr) }