Re:WebSockets vs. Server-Sent-Events vs. Long-Polling vs. We...
by nchmy on Tuesday March 19, 2024 @11:18AM
(#39756642)
Will this still be the case now that Shared Dictionary support is being rolled out in Chromium?
https://developer.chrome.com/blog/shared-dictionary-compress...
In WebSockets, you can use plug&play extensions which can modify the payload on both the client and the server, which make them also ideal for tunneling and peer-to-peer applications.
I've written an article from an implementer's perspective a while ago, in case you are interested [1]
[1] https://cookie.engineer/weblog/articles/implementers-guide-t...