Example #1
0
 /**
  * Clears the:
  * 
  * 1. \GO::config()->cachedir folder. This folder contains mainly cached javascripts.
  * 2. \GO\Base\Model objects cached in memory for a single script run
  * 3. The permanent cache stored in \GO::cache()
  * 
  */
 public static function clearCache()
 {
     \GO::config()->getCacheFolder(false)->delete();
     \GO::cache()->flush();
     \GO\Base\Model::clearCache();
 }