Attributes |
Name | Type | Required | Default Value | Description |
cachekey | string | false | null | Specify a custom entry id. By default the dataid is used as cachekey. A custom cachekey is only needed to prevent cachekey conflicts. |
contextid | string | false | null | A value representing a cache context. Examples of contexts are Communities or MyPage/Community pages.To cache data in a Community pass in current Community id as contextid, for a Community Page pass in Page id . It is also possible to combine two or more ids as a contextid to create custom context. For example combining current Community id and Experience Definition id caches data only for users in this Community and Experience Definition. Never use the User id as contextid. Instead, use the logic.sessioncache tag to cache per user. |
expiration | int | true | null | Number of minutes to cache an entry before rerunning the data tag to refresh the data. |
data | string | true | null | Name of the tag variable where the data tag being cached sets its data. Should be same as the pt:key attribute in the enclosed data tag. |
datascope | string | false | portlet request | Scope of the data tag variable id. |