Caching dynamic content
A method, system, and computer program product for caching dynamically generated content (including, but not limited to, dynamically generated Web pages), as well as determining when the cached content should be invalidated or purged. Rather than caching the generated datastream (i.e. the end result of the computations used in the dynamic generation process) as in the prior art, the interim results of computations (such as a generated bean instance or object, where the interim results may be stored using properties and methods) are cached according to the present invention. The input properties used to generate the bean or object, along with the input property values, are used to distinguish among cached instances and thereby identify when a cached instance may be used to respond to a subsequent request for the same content. Re-execution of the business logic of the bean or object may then be avoided, using the cached bean's or object's output properties to generate the content response. Application-specific, developer-defined criteria may be used in the cache invalidation determination.
International Business Machines Corporation
G
G06F
inventional
Soumitra Steven D. Daniel E. Ronald E. Maria Rita Yongcheng Yih-Shin
Sarkar Ims Poirier Craig Villari Li Tan