# SystemCacheClear()

clears all caches or the specified cache

```
SystemCacheClear( cacheName=string );
```

**Returns:** void

# Arguments

| Argument | Type | Required | Description | Default |
|----------|------|----------|-------------|---------|
| cacheName | string | No | Name of the cache to clear, if not defined all caches will be cleared: the following cache Names are supported: - all: clear all caches - template: clears the template cache - component: clears the component path cache - customtag: clears the custom tag path cache - query: clears the query cache - tag: clears the cfml/cfc based built in tag cache - function: clears the cfml based built in function cache *Alias: cache, region* |  |

# Examples

```cfml
SystemCacheClear( [ cacheName ] );
```







# Categories

[Cache](../../categories/cache.md), [Lucee Server related Tags, Functions and Guides](../../categories/server.md)

# See Also

[CacheClear()](cacheclear.md), [InspectTemplates()](inspecttemplates.md), [PagePoolClear()](pagepoolclear.md), [PagePoolList()](pagepoollist.md)