systemCacheClear

Clears all caches or the specified cache

systemCacheClear([cacheName]) → returns void

This function requires Lucee. Not supported on Adobe ColdFusion.

systemCacheClear Argument Reference

cacheName string

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
Values:
  • all
  • template
  • page
  • component
  • cfc
  • class
  • customtag
  • ct
  • query
  • object
  • tag
  • function

Examples sample code invoking the systemCacheClear function

Clear all caches.

systemCacheClear();

Clear the template cache.

systemCacheClear("template");

Fork me on GitHub