Cache.clearElementTypeCache (Method)

Clears the site's cache of the specified element types.

Returns:

Void

Arguments:

Name Type Required Description
elementTypeIDList ElementTypeIDList Required A comma-delimited list of element type IDs.
forceImmediateClear Boolean Optional. Defaults to '1'. A boolean flag which when set to 1 forces all cache for this element type to be fully cleared immediately. If set to 0 and Stale Cache is in use all cache for this element type will be invalidated, but may still be used if not older than the stale cache time frame.

Context:

License Requirements None
Permission Requirements Contributor
Deny Context None
Require Context None
Author Lock (not required)
Transaction Logging If transaction logging is enabled at the site level, calls to this method will be logged
Customization This method may be customized at the site level

Error Codes:

None

Notes:

None