摘要 |
A method of serving a web page includes separating an original web page into a server-side executable portion and a server-side static portion. The server-side static portion is replaced with an identifier, and then a client-side executable program is created that will replace the identifier with the server-side static portion. The client-side executable program may be compressed in such a way that the server-side executable portion is stored in its original format. In response to a client request, the web server executes the resulting program and transmits the output to the requesting client. At the client, the response is decompressed if necessary and the client-side executable program is executed to integrated the server-side static portion with the server-side execution result.
|