3 ms·
The WebSocket protocol isn't part of the HTML5 standard. The API is, but WebSocket's protocol is not defined in HTML5.
by TazeTSchnitzel 14y ago
The WebSocket protocol isn't part of the HTML5 standard. The API is, but WebSocket's protocol is not defined in HTML5.
- halayli 14y agoThe fact that it's mentioned in HTML5 API bothers me.
- TazeTSchnitzel 14y agoWhy? They are Web Sockets, and we have AJAX already.
- halayli 14y agoAjax is merely a client JS interface to HTTP. A protocol that already exist. It's not a protocol being imposed on web servers. When you want to impose a new protocol on web servers and browsers, it better not be to solve push notifications only. And that's what SPDY did.
- TazeTSchnitzel 14y agoWebSocket isn't just to solve push notifications. It's also for realtime communication, for example chat or multiplayer games. We do have server-sent updates if you just want push notifications.
- halayli 14y agoyes, without compression. Everything you said is covered in SPDY. But SPDY takes a step further and improves the current state of HTTP as well to better transfer documents.