149     if (preg_match(
'~(?:^|/)(css|js)(?:$|/)~', 
$view, 
$m)) {
 
  200     $files = array_diff(scandir($dir), array(
'.', 
'..'));
 
  202     foreach (
$files as $file) {
 
  203         if (is_dir(
"$dir/$file")) {
 
  206             unlink(
"$dir/$file");
 
  246     $events->registerHandler(
'ready', 
'system', 
'_elgg_cache_init');
 
  249     $events->registerHandler(
'cache:flush', 
'system', 
'elgg_reset_system_cache');
 
  250     $events->registerHandler(
'cache:flush', 
'system', 
'elgg_invalidate_simplecache');
 
_elgg_cache_init()
Initializes the simplecache lastcache variable and creates system cache files when appropriate.
 
elgg_reset_system_cache()
Reset the system cache by deleting the caches.
 
elgg_flush_caches()
Flush all the registered caches.
 
elgg_invalidate_simplecache()
Deletes all cached views in the simplecache and sets the lastcache and lastupdate time to 0 for every...
 
elgg_load_system_cache($type)
Retrieve the contents of a system cache.
 
_elgg_get_view_filetype($view)
Returns the type of output expected from the view.
 
elgg_is_simplecache_enabled()
Is simple cache enabled.
 
_elgg_rmdir($dir)
Recursively deletes a directory, including all hidden files.
 
elgg_disable_system_cache()
Disables the system disk cache.
 
_elgg_get_simplecache_root()
Get the base url for simple cache requests.
 
elgg_enable_simplecache()
Enables the simple cache.
 
elgg_disable_simplecache()
Disables the simple cache.
 
elgg_save_system_cache($type, $data)
Saves a system cache.
 
elgg_get_system_cache()
Returns an \ElggCache object suitable for caching system information.
 
elgg_get_simplecache_url($type, $view)
 
elgg_register_simplecache_view($view_name)
Registers a view to simple cache.
 
elgg_enable_system_cache()
Enables the system disk cache.