Caching in Commerce Enabled Portal incorporates caching from both WebSphere Commerce and WebSphere Portal. Use WebSphere Commerce caching to cache the JSP files that create your Commerce Enabled Portal store, and use WebSphere Portal caching for caching the content of the portlets.
Caching JSP files
To cache Commerce Enabled Portal JSP files follow the guidelines outlined in Creating store pages that can be cached, with the following exceptions:
- JSP files used in Commerce Enabled Portal should be cached as whole pages for performance reasons.
- If your store is available in both portal and non portal versions, define caching rules in the cachespec.xml file for both versions.
- Use the request attribute DC_portal and the corresponding value (Portal, WAP) for the cache filter in cachespec.xml. For more information, see Cache servlet filtering.
Caching portlets content
Refer to information in the WebSphere Portal information center for how WebSphere Portal handles caching of the portlet content.