6 ms·
spdy is better designed and supports compression out of the box. I also don't think that a network protocol should be part of HTML5 standard.
by halayli 14y ago
spdy is better designed and supports compression out of the box. I also don't think that a network protocol should be part of HTML5 standard.
- TazeTSchnitzel 14y agoThe 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.