diff --git a/backend/app/rest/api/stream.go b/backend/app/rest/api/stream.go index 58391e58..2968a9a1 100644 --- a/backend/app/rest/api/stream.go +++ b/backend/app/rest/api/stream.go @@ -42,6 +42,8 @@ func (s *Streamer) Activate(ctx context.Context, eventFn func() steamEventFn, w if ww, ok := w.(http.ResponseWriter); ok { ww.Header().Set("Content-Type", "text/event-stream") + ww.Header().Set("Connection", "keep-alive") + ww.Header().Set("Cache-Control", "no-cache") } for {