Incremental rendering
Encyclopedia
Incremental rendering refers to a feature built into most modern Web browser
Web browser
A web browser is a software application for retrieving, presenting, and traversing information resources on the World Wide Web. An information resource is identified by a Uniform Resource Identifier and may be a web page, image, video, or other piece of content...

s. Specifically, this refers to the browser's ability to display partially downloaded Web page to the user while the browser awaits the remaining files from the server. The advantage to the user is a perceived improvement in responsiveness, both from the Web browser and from the web site.

The purpose of incremental rendering is similar to the purpose of the interlaced JPEG, which improves the presentation speed to the user by quickly displaying a low-resolution version of an image which improves to a high-resolution, rather than an image that slowly paints from top to bottom.

Without incremental rendering, a web browser must wait until the code for a page is fully loaded before it can present content to the user. Earlier web browsers offered somewhat of a compromise - displaying the HTML
HTML
HyperText Markup Language is the predominant markup language for web pages. HTML elements are the basic building-blocks of webpages....

page once the entire HTML file had been retrieved, and then inserting the images one-by-one as they were retrieved afterwards.

Although the utility of incremental rendering seems intuitively obvious, making it happen is somewhat of an art as well as a science. The sequence in which the various elements making up a Web page is almost never strictly top-to-bottom, the programming that fills in the missing pieces must do a certain amount of guesswork to determine how to best display partial content. Images in particular are virtually always loaded following the HTML page, as the browser must consult the HTML file in order to know which images to request from the server - as the server doesn't present them automatically without the follow-up request. Web designers and web design software often include hints that assist with this process - for example, including the expected heights and widths of images in the HTML code so the browser may allocate the correct amount of screen space before the image is actually retrieved from the server.
The source of this article is wikipedia, the free encyclopedia.  The text of this article is licensed under the GFDL.
 
x
OK