It seems in both cases client sends a request to server and server answers, unless in server sent event you can set retry time in your server side code. So is there any benefit in using SSE rather than jQuery post or get method?

2 Answers
2

Server sent events create less traffic on the server. The client does not need to ask for news every minute. Data is only delivered when it is available. Also the data arrives instantly at the client not only when the client ask for it.

Using SSE is better because the request weight is far less than long polling. In long polling you need to issue a HTTP request each time but in SSE, you just need to use one HTTP connection for sending data from the server to the client.