CMSSearchResultsCacheItemName Property |
Name of the cache item the control will use.
Namespace: CMS.ControlsAssembly: CMS.Controls (in CMS.Controls.dll) Version: 9.0.0
Syntaxpublic virtual string CacheItemName { get; set; }
Property Value
Type:
String
Remarks
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