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 everythingpage
- Clear the compiled class poolsclass
- Clear the class path resolverstemplate
- Clear all the templates cached using the bx:cache componentquery
- Clears the cache storing queriesobject
- Clear the default cache region
Method Signature
SystemCacheClear(cacheName=[string])
Arguments
Argument
Type
Required
Description
Default
cacheName
string
false
all
Examples
Clear all caches
Clear all caches.
systemCacheClear();
Clear the template cache
Clear the template cache.
systemCacheClear( "template" );
Additional Examples
SystemCacheClear( [
cacheName
] );
Related
Last updated
Was this helpful?