Lucee Function Reference

systemcacheclear()

clears all caches or the specified cache

Example

systemcacheclear([string cacheName]):void

Arguments

The arguments for this function are set. You can not use other arguments except the following ones.
Name Type Required Description
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