open navigation menu
AiFolder
Tools for a smarter you
Discover
Tools
AI
Games
Interviews
Blog
More
Search AiFolder
Toggle theme
Toggle theme
Sign in
Exit
00:00
Submit test
WebSockets · Intermediate
6 questions · Question 1 of 6
17%
Multiple Choice
Mid
Mention some advantages of SSE over WebSockets
A
The reason for the masking is to make websocket traffic look unlike normal HTTP traffic and become completely unpredictable.
B
Today (almost 4 years later), web scaling involves using Content Delivery Network (CDN) front ends, not only for static content (html,css,js) but also your (JSON) application data.
C
Advantages of SSE over Websockets: Transported over simple HTTP instead of a custom protocol Can be poly filled with javascript to "backport" SSE to browsers that do not support it yet.
D
Alongside with short and long polling, SSE is a technique for sending messages is the Server Sent Events API, which allows the server to push updates to the client by leveraging the JavaScript EventSource .
Previous
Next