News for hackers. Stuff that matters.
Re:Etherpad Shows Google Docs How It’s Done (By AppJet) by axod on Wednesday November 19, 2008 @11:02AM (#369551)
Are you being sarcastic? Does anyone know what comet is? Please explain exactly how you can SEND multiple packets over time from browser to server without sending more HTTP requests, and without using any java applet/flash.

It's a shame people seem to have started saying "use comet" without understanding what it means. Did you read that link?

Re:Etherpad Shows Google Docs How It’s Done (By AppJet) by abacad on Wednesday November 19, 2008 @11:18AM (#369576)
Connection: Keep-Alive
Re:Etherpad Shows Google Docs How It’s Done (By AppJet) by axod on Wednesday November 19, 2008 @11:24AM (#369582)
Yes, you can specify keep-alive (Although some browsers refuse to do it in an XHR - Opera for one). However, you still send the full glut of HTTP headers every single request.
Re:Etherpad Shows Google Docs How It’s Done (By AppJet) by marcus on Wednesday November 19, 2008 @12:15PM (#369650)
True, you still need the headers, what you don't need is a new connection every key stroke. Establishing a new TCP connection is a relatively high cost network item (between all the Acks and Syns you need 3 messages have to go back and forth for it to establish), keep the connection alive, the stuff will run a lot faster.
Re:Etherpad Shows Google Docs How It’s Done (By AppJet) by blasdel on Thursday November 20, 2008 @07:13AM (#370534)
You can null out the default headers on a XHR so they don't get sent.
Re:Etherpad Shows Google Docs How It’s Done (By AppJet) by lacker on Wednesday November 19, 2008 @11:20AM (#369579)
Without any java applets or flash?