CacheHelper TouchKey Method (String, Boolean, Boolean)Kentico 8.1 API Reference
Touches the cache key to drop the dependencies.

Namespace: CMS.Helpers
Assembly: CMS.Helpers (in CMS.Helpers.dll) Version: 8.0.0.0 (8.1.5347.20411)

Parameters

key
Type: OnlineSystem String
Key to touch
logTask
Type: OnlineSystem Boolean
Log web farm task
ensureKey
Type: OnlineSystem Boolean
If true, the keys must be present in the cache, if false, the non-existing key is not touched
See Also