Skip to content

Commit 5f28063

Browse files
authored
trees: lower cache control from one hour to 5 seconds (#104)
1 parent 616c92f commit 5f28063

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
@@ -267,6 +267,6 @@ func (s *Server) GetTree(w http.ResponseWriter, r *http.Request) {
267267

268268
tr.LeafCount = len(tr.UnhashedLeaves)
269269

270-
w.Header().Set("Cache-Control", "public, max-age=3600")
270+
w.Header().Set("Cache-Control", "public, max-age=5")
271271
s.sendJSON(r, w, tr)
272272
}

0 commit comments

Comments
 (0)