High performance freeze-dried dynamic web page generation
First Claim
1. A process for optimizing generation of a computer readable document incorporating static and dynamic content, comprising the steps of:
- providing a template file of said document, said file resident on a mass storage device of a first computer;
reading said template into memory;
creating a content composer, said content composer comprising a first software object;
parsing said template by said content composer;
decomposing said template into separate page components by said content composer;
converting said components into strings of computer readable code by said content composer;
storing said strings to one or more data structures; and
caching said data structures containing said page components.
7 Assignments
0 Petitions
Accused Products
Abstract
Dynamic web page generation is optimized by reducing the processing overhead required to parse the web page HTML code for tokens and insert dynamic content. Using the invention, an HTML file for a dynamic web page need be read and parsed only once throughout the life of the server. A software object parses the HTML, decomposes the page into constituent pieces and saves them to data structures as byte streams, which are cached, along with the software object, rendering multiple disk accesses unnecessary when the page is reconstituted. For subsequent requests, the dynamic page is created from the cached version, which is shareable across users and across requests. The optimization reduces server resource usage for dynamic page generation to near zero. The invention is also applicable to other documents combining static and dynamic content that require composition tools for editing.
-
Citations
1 Claim
-
1. A process for optimizing generation of a computer readable document incorporating static and dynamic content, comprising the steps of:
-
providing a template file of said document, said file resident on a mass storage device of a first computer; reading said template into memory; creating a content composer, said content composer comprising a first software object; parsing said template by said content composer; decomposing said template into separate page components by said content composer; converting said components into strings of computer readable code by said content composer; storing said strings to one or more data structures; and caching said data structures containing said page components.
-
Specification