The com.sapportals.portal.prt.component package defines the following interfaces that, if implemented by a component, control the caching of the component's content:
ICachablePortalComponent : Determines the caching level and whether the cache has expired.
ICacheValidator : Determines whether the cache is still valid based on a string that was stored with the cache.
ICacheDiscriminator : Enables the storage of different caches for this component and to label each cache. When called again, the component can specify a label and the cache with that label is returned, if it exists.
A portal administrator can force the use of the cache properties defined in the component profile instead of these caching methods by setting the component profile property ForceProfileCachingParams to true .
Automatic Caching Expiration
Cached content expires automatically in the following cases:
A request or a component event is sent to the component.
The mode is REFRESH .
An exception is raised during the request cycle.