SystemCacheClear()

clears all caches or the specified cache

SystemCacheClear( cacheName=string );

Returns: void

Argument Description
cacheName
string, optional

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

SystemCacheClear( [ cacheName ] );

See also