Thanks for reading.
We are developing a web app. and we're finding out how to live-update some counters and info in the client side, without use scheduled-Json-Updates (yes, timeouts works... but there should be another way ; )
So I was looking at Twitter... they live-update our timeline don't they?
I cannot see the timeline updates in the XHR FireBug window. but they are happening : O
So how does twitter live-update our timeline?
Or
How could I update info scalable and efficiently in the client side via开发者_如何学编程 ajax?
See here: Prevent logging of AJAX calls in console tab of Firebug like Twitter
Quoting the answerer, brianng:
Note the callback
processSummizeRefresh.
Since the call is being made to a subdomain (integratedsearch.twitter.com), JSONP is being used which injects a script tag to make the request.
No special FireBug hiding magic :)
精彩评论