We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
There was an error while loading. Please reload this page.
1 parent c2dea80 commit 3b78a61Copy full SHA for 3b78a61
internal/handler/group_rank_info.go
@@ -14,7 +14,7 @@ const (
14
15
func GroupRankInfoHandler(c iris.Context) {
16
if GroupRankInfoStatic {
17
- c.Header("Cache-Control", "no-cache")
+ c.Header("Cache-Control", "public, max-age=60")
18
c.ContentType("application/json")
19
c.Write(static.GroupRankInfoBytes)
20
return
internal/handler/schedule.go
func ScheduleHandler(c iris.Context) {
if ScheduleStatic {
c.Write(static.ScheduleBytes)
0 commit comments