cacheSetProperties

Set multiple cache settings

cacheSetProperties(properties) → returns void

Argument Reference

properties struct
Required

Structure of properties to be changed

region string

CF 10+ Indicates the cache region for which to set the properties.

Compatibility

Lucee:

DEPRECATED since version 4.5 This function is not supported by Lucee, because they see this as a security risk, as you can modify cache configuration without a password, you can use tag cfadmin instead. Lucee will add support for this function in a future release.

Examples
Sample code invoking the cacheSetProperties function

Signup for cfbreak to stay updated on the latest news from the ColdFusion / CFML community. One email, every friday.

Fork me on GitHub