CMSAbstractWebPartCacheItemName Property |
Name of the cache item the control will use.
Namespace: CMS.PortalControlsAssembly: CMS.PortalControls (in CMS.PortalControls.dll) Version: 9.0.0
Syntax public virtual string CacheItemName { get; set; }
Property Value
Type:
StringRemarks
By setting this name dynamically, you can achieve caching based on URL parameter or some other variable - simply put the value of the parameter to the CacheItemName property. If no value is set, the control stores its content to the item named "URL|ControlID".
See Also