From 76cb7d798443cd436866fe76d9275de5ba133dc8 Mon Sep 17 00:00:00 2001 From: luke miles Date: Fri, 21 Jul 2023 13:40:40 -0700 Subject: [PATCH] tree: longer ttl --- 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) }