Skip to content
Open
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
5 changes: 3 additions & 2 deletions dnscrypt-proxy/monitoring_ui.go
Original file line number Diff line number Diff line change
Expand Up @@ -1064,8 +1064,9 @@ func (ui *MonitoringUI) handleRoot(w http.ResponseWriter, r *http.Request) {
return
}

// Serve the main dashboard page - cache for 5 minutes since template is static
setStaticCacheHeaders(w, 300)
// No cache, no heartbeat fetching. You will need to log in again after restarting your browser.
setDynamicCacheHeaders(w)

w.Header().Set("Content-Type", "text/html")
w.Write([]byte(MainHTMLTemplate))
}
Expand Down