摘要 |
<p>The invention relates to a method and apparatus for regenerating portions of the page that have changed and transmitting only those portions to the client for display. Executing only the necessary parts of the page generation code and transmitting only changes to the client improves the efficiency of using the resources of the network communication channel, the client node and the server node. Performing these operations only when required, when the data has changed, improves the efficiency of use even further. The invention also takes advantage of any portions of the page that are already on the client by reusing them and thus eliminates the need to regenerate or transmit those reusable portions. In one aspect, the invention relates to a method for augmenting page generation code for partial page regeneration. The method includes receiving page generation code that generates a page and identifying one or more fragments in the page generation code, where each fragment generating a corresponding portion of the page when the fragment is executed. The method further includes providing additional code to operate with the page generation code to control execution of each fragment for partial page regeneration.</p> |