diff --git a/dnscrypt-proxy/monitoring_ui.go b/dnscrypt-proxy/monitoring_ui.go index f69ce37be3..059d520b2e 100644 --- a/dnscrypt-proxy/monitoring_ui.go +++ b/dnscrypt-proxy/monitoring_ui.go @@ -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)) }