cfdocs

systemCacheClear

Clears all caches or the specified cache

systemCacheClear([cacheName])
returns void

Argument Reference

| Name | Type | Required | Default | Description | Values | | — | — | — | — | — | — | | cacheName | string | No | | Name of the cache you want to clear. If not specified it will clear all caches.
Some cachenames are aliases:
page = template
cfc, class = component
ct = customtag
object = query | /Users/garethedwards/development/github/cfdocs/docs/functions/systemcacheclear.md|function |

Clear all caches

Clear all caches.

systemCacheClear();

Clear the template cache

Clear the template cache.

systemCacheClear("template");