# CacheSetProperties()

This function is not supported by Lucee, because we consider it a security risk, as you can modify cache configuration without a password, you can use tag cfadmin instead.

We will add support for this function in a future release, but then you can enable/disable this function in admin for every single cache instance.

```
CacheSetProperties( propsStruct=struct );
```

**Returns:** void

# Arguments

| Argument | Type | Required | Description | Default |
|----------|------|----------|-------------|---------|
| propsStruct | struct | Yes | A structure specifying the cache properties plus identifying information *Alias: properties, props* |  |

# Examples

*There are currently no examples for this function.*







# Categories

[Cache](../../categories/cache.md)