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

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

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?

ベストアンサー1

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.

おすすめ記事