-
Notifications
You must be signed in to change notification settings - Fork 23k
Closed
Labels
Content:WebAPIWeb API docsWeb API docs
Description
MDN URL
files/en-us/web/api/eventsource/message_event/index.md
What specific section or headline is this issue about?
Examples
What information was incorrect, unhelpful, or incomplete?
It is not clear that raw message must have a very specific structure in order for the EventSource recognize. Also server site buffering will result in behaviour in which the onmessage event is only triggered after a large number of messages is send.
What did you expect to see?
Mentioning of message structere:
event: <event-name>\n
data: \n\nNote: For smaller messages, make sure server side buffering is adjusted adquately for message to be send in time.
Do you have any supporting links, references, or citations?
Switch off buffering for for instance nginx proxies, php-fpm etc is not at all trivial. And should at least be mentioned
Do you have anything more you want to share?
No response
Metadata
Metadata
Assignees
Labels
Content:WebAPIWeb API docsWeb API docs