是否有某种方式从网络服务器数据推到浏览器? [英] Is there some way to PUSH data from web server to browser?

查看:140
本文介绍了是否有某种方式从网络服务器数据推到浏览器?的处理方法,对大家解决问题具有一定的参考价值,需要的朋友们下面随着小编来一起学习吧!

问题描述

当然我知道的Ajax,但Ajax的问题​​是浏览器应轮询服务器经常以寻找是否有新的数据。这增加了服务器负载。

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.

有没有更好的方法(甚至使用Ajax),比轮询其他服务器频繁?

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

推荐答案

是的,你要找的是COMET <一个href="http://en.wikipedia.org/wiki/Comet_(programming)">http://en.wikipedia.org/wiki/Comet_(programming).其他好的方面谷歌搜索的AJAX推动和反向AJAX。

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.

这篇关于是否有某种方式从网络服务器数据推到浏览器?的文章就介绍到这了,希望我们推荐的答案对大家有所帮助,也希望大家多多支持IT屋!

查看全文
登录 关闭
扫码关注1秒登录
发送“验证码”获取 | 15天全站免登陆