Skip to content

Commit

Permalink
tree: longer ttl
Browse files Browse the repository at this point in the history
  • Loading branch information
worm-emoji committed Jul 21, 2023
1 parent 7b0e5c2 commit 76cb7d7
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion api/tree.go
Original file line number Diff line number Diff line change
Expand Up @@ -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)
}

0 comments on commit 76cb7d7

Please sign in to comment.