Patent ID: 7613810

Claim:
A method comprising receiving, from an origin server, a machine readable file containing a document that is to be served to a client for display on a client device, the file being expressed in a language that does not organize segments of the document in a hierarchy, converting the file to a language that organizes segments of the document in a hierarchy, traversing the hierarchy and assembling subdocuments from the segments, at least some of the subdocuments being assembled from more than one of the segments, the assembling conforming to an algorithm that tends to (a) balance the respective sizes of the subdocuments, (b) favor assembling the subdocuments from segments that have common parents in the hierarchy, and (c) assemble the subdocuments from segments for which replications of nodes in the hierarchy is not required, at least one of the subdocuments being expressed in a format that permits it to be served separately to the client, at least one of the subdocuments containing information that enables it to be linked to another one of the subdocuments, and serving the subdocuments to the client individually as requested by the client based on the contained information that enables it to be linked to another of the subdocuments.