If HTML code generation from a portlet is slow, maybe because of a slow datasource that is used when populating the information that should be displayed, is it possible to use SiteVisions portlet cache mechanism to increase performance. This function will cache HTML code generated by a portlet and reuse it when the portlet is re-rendered.Three kinds of caching are available:
Per portlet
If the content from a portlet is the same, no matter which user that is viewing the page, can Per portlet mode be used. The portlet will be rendered once and then reused during all other page renderings that occurs.Per page
If the content from a portlet is different depending on which page that the portlet is located can Per page mode be used. An example of this is a menu portlet that is included in a page template that will have different content depending of which page that is rendered.Per user
If the content from a portlet is different depending of the user viewing the portlet should Per user mode be used. An example of this can be a portlet that shows the number of emails currently available for the user.Expiration time
The number of seconds before cached content should be invalidated and re-rendered.