Applications Administration Guide > Microsite Management > About Configuring Microsite Management >

Configuring Microsite Caching


By default, page caching of microsite pages and content is turned on. However, you can configure the caching behavior of Microsite pages by editing the application's CFG file.

The advantage of caching is that microsite pages are rendered faster.

The disadvantage of page caching is that if you make a change to a page using Page Designer, the updated page is not displayed until the caching time-out has expired.

TIP:   If you have both a staging and a production environment, consider using page caching in the production environment, but not in the staging environment.

To configure caching for Microsite pages

  • Create or edit the [ERM Page Rendering] section in your application's CFG file.

    See Table 63 for information about the page caching parameters.

    NOTE:  Set time outs according to how often pages and contents are updated. If pages are updated frequently, set time outs low.

Table 63.  Microsite Caching Parameters
Parameter Name
Comments
Default

EnablePageCache

Page cache caches Microsite page contents including Microsite applets and Group News applets on a per AOM (Application Object Manager) basis.

TRUE

EnableDefaultViewPageCache

The default-view page cache caches the default Microsite page for a view on a per AOM basis.

TRUE

EnablePageAccessCache

The page-access cache caches whether a page is private or public on a per AOM basis.

TRUE

EnableUserPageAccessCache

The user-page access cache caches whether a given user has access to a particular page on a per user session basis.

TRUE

EnableUserPageItemAccessCache

The user-page item access cache caches whether a given user has access to a particular page item on a per user session basis.

TRUE

PageCacheSize

Size of page cache in pages.

CAUTION:  If PageCacheSize > 256, make sure to monitor the memory usage of the AOM.

Setting to 0 disables page caching.

256

PageCacheTimeout

Lifetime, in minutes, of page cache entries. Setting to 0 disables page caching.

5

DefaultViewPageCacheTimeout

Lifetime, in minutes, for default-view page cache entries. Setting to 0 disables default-view page caching.

10

PageAccessCacheTimeout

Lifetime, in minutes, for page-access cache entries. Setting to 0 disables page-access caching.

10

Applications Administration Guide