What makes it special is that only a portion of the page is reloaded, so you cut down on the amount of data downloaded by the client and the load on the web server. The main HTML page, When you have lots of browsers requesting pages that depends on live data, you need to be careful about how you update that data.For example, if you are regularly dynamically creating a new graph image, you need to make sure a half saved version of the image file is not served to a browser.Stack Exchange network consists of 175 Q&A communities including Stack Overflow, the largest, most trusted online community for developers to learn, share their knowledge, and build their careers. I want to update a canvas in real-time as the world-map will be handled server-side. Drawing should be handled client side and logic handled mostly server side.
Image updating is useful if you have dynamic graphs or perhaps a webcam. The main trick is appending a date string after the image file name to make sure the browser does not use a cached version of the image.
It is likely that only a small portion of the page will actually change.