DEV Community

3 1

Is Anyone Using Server-Sent Events?

A lot of websites are using websockets for real-time communication with the server, even applications that don't need the 2-way communication. Is there a advantage to using Server-Sent Events instead of websockets when you only need one-way communication?

Top comments (2)

Collapse
 
edimeri profile image
Erkand Imeri

I think they are using websockets for the reason that some browsers still don't fully support Server-Sent Events. So, it's probably cross-browser compatibility thing.

Collapse
 
rafaldardzinski profile image
Rafał Dardziński

And that's more than enough to not use sse. Edge and IE are still relevant, especially if you're developing for corporate client.

AWS Security LIVE!

Tune in for AWS Security LIVE!

Join AWS Security LIVE! for expert insights and actionable tips to protect your organization and keep security teams prepared.

Learn More

👋 Kindness is contagious

Explore a sea of insights with this enlightening post, highly esteemed within the nurturing DEV Community. Coders of all stripes are invited to participate and contribute to our shared knowledge.

Expressing gratitude with a simple "thank you" can make a big impact. Leave your thanks in the comments!

On DEV, exchanging ideas smooths our way and strengthens our community bonds. Found this useful? A quick note of thanks to the author can mean a lot.

Okay