Skip to content

Commit 6009f77

Browse files
authored
tree: longer ttl (#110)
1 parent 7b0e5c2 commit 6009f77

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

api/tree.go

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -256,6 +256,6 @@ func (s *Server) GetTree(w http.ResponseWriter, r *http.Request) {
256256

257257
tr.LeafCount = len(tr.UnhashedLeaves)
258258

259-
w.Header().Set("Cache-Control", "public, max-age=5")
259+
w.Header().Set("Cache-Control", "public, max-age=86400")
260260
s.sendJSON(r, w, tr)
261261
}

0 commit comments

Comments
 (0)