A method, a system, an apparatus, and a computer program product are
presented for a fragment caching methodology. After a message is received
at a computing device that contains a cache management unit, a fragment
in the message body of the message is cached. Subsequent requests for the
fragment at the cache management unit result in a cache hit. A
FRAGMENTLINK tag is used to specify the location in a fragment for an
included or linked fragment which is to be inserted into the fragment
during fragment or page assembly or page rendering. A FRAGMENTLINK tag
may include a FOREACH attribute that is interpreted as indicating that
the FRAGMENTLINK tag should be replaced with multiple FRAGMENTLINK tags.
The FOREACH attribute has an associated parameter that has multiple
values that are used in identifying multiple fragments for the multiple
FRAGMENTLINK tags.