Click or drag to resize
CacheHelperClearCache Method (String, Boolean, Boolean)
Clears the cache content starting with given string

Namespace: CMS.Helpers
Assembly: CMS.Helpers (in CMS.Helpers.dll) Version: 8.2.23
Syntax
C#
public static void ClearCache(
	string startsWith,
	bool caseSensitive = false,
	bool logTask = true
)

Parameters

startsWith
Type: SystemString
If null, removes all cache items, if set, remove only items starting with given string
caseSensitive (Optional)
Type: SystemBoolean
Case sensitivity indicator.
logTask (Optional)
Type: SystemBoolean
Log web farm task
See Also