AspNetAtoms.com daily updates on ASP.NET Tutorials, Articles, Authors and more. Subscribe to our newsletter and receive updates on ASP.NET resources on the Internet.

Categories

Recent Posts

Fast Streaming AJAX Proxy - Continuously Push Data as Downloaded : Omar AL Zabir

Monday, February 16 2009

Solve the common problem of double-downloading of data when browser wants to download content from external domain by making AJAX calls to a server side proxy. This proxy solves the delay in transmitting data from external domain by continuously pushing data to browser as it downloads on the server. Due to browsers' prohibition on cross domain XMLHTTP calls, all AJAX websites must have a server side proxy to fetch content from external domains like Flickr or Digg. From the client-side JavaScript code, an XMLHTTP call goes to the server-side proxy hosted on the same domain, and then the proxy downloads the content from the external server and sends back to the browser. In general, all AJAX websites on the Internet that are showing content from external domains are following this proxy approach, except for some rare ones who are using JSONP. Such a proxy gets a very large number of hits when a lot of components on the website are downloading content from external domains. So, it becomes a scalability issue when the proxy starts getting millions of hits. Moreover, a web page's overall load performance largely depends on the performance of the proxy as it delivers content to the page. In this article, we will take a look at how we can take a conventional AJAX Proxy and make it faster, asynchronous, continuously stream content, and thus make it more scalable...

Read More:
Fast Streaming AJAX Proxy - Continuously Push Data as Downloaded : Omar AL Zabir
Also See:
Display an animated Gif during a long-running ASP.NET page call : Peter A Bromberg
ASP.NET AJAX: State or no State? : Granville Barnett
Pimp Out Your Panels : Steve C. Orr
JavaScript with ASP.NET Server Controls : Xun Ding
Getting Started with AJAX 1.0 : Mahesh Chand

Post your comment

Comment