Is there some way to PUSH data from web server to browser?

Niyaz picture Niyaz · Aug 21, 2008 · Viewed 72.1k times · Source

Of course I am aware of Ajax, but the problem with Ajax is that the browser should poll the server frequently to find whether there is new data. This increases server load.

Is there any better method (even using Ajax) other than polling the server frequently?

Answer

Greg Hurlman picture Greg Hurlman · Aug 21, 2008

Yes, what you're looking for is COMET http://en.wikipedia.org/wiki/Comet_(programming). Other good Google terms to search for are AJAX-push and reverse-ajax.