1. A document-generation process comprising: parsing a raw document to create an internal representation of the document; reading a first-level transform from a transform database; applying the first-level transform to the internal representation so as to create a first-level document; writing the first-level document to cache; receiving a first request for a second-level document that depends from the first-level document; in response to the first request, reading a second-level transform from the transform database; applying the second-level transform to the first-level document so as to create a second-level document; and writing the second-level document to cache.