SystemCacheClear

Clears many of the caches in the runtime.

By default with no arguments, it will clear all caches.

The following caches can be cleared:

  • all - Clear everything

  • template or page - Clear the compiled class pools

  • class - Clear the class path resolvers

  • query - Clear the default cache region

  • object - Clear the default cache region

Method Signature

SystemCacheClear(cacheName=[string])

Arguments

Argument
Type
Required
Description
Default

cacheName

string

false

all

Examples

Last updated

Was this helpful?