摘要 |
A web server system that incorporates service data into web pages defers the task of generating a portion of a web page associated with late-arriving service data, and offloads this task to the web browser that requested the page. Upon receiving a page request that involves a service request to a potentially slow service, the web server system generates and serves a “deferred rendering”, version of the web page that lacks the data from this service, but which includes most or all of the other visual elements of the page. Upon receiving the requested service data, the web server system forwards this data to the browser, which executes a page update handler (preferably a JavaScript function) to update the page with the service data. The data may be added near the top of the visual page, within a display object that initially serves as a placeholder for the service data. |