Cache

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.

Cache

This tab is only visible for users that has the "Web site properties" permission.

Denna sida publicerades: 2015-11-16

Skriv ut PDF-avsnitt

Hjälpte informationen på den här sidan dig?

Find us!

SiteVision AB (Headquarter)
Vasagatan 10
702 10 Orebro
Sweden

Info: +46 19-17 30 30
Support: +46 19-17 30 39

Latest Tweets