applications/vanilla/models/class.categorymodel.php
protected static function BuildCache() {
      self::CalculateData(self::$Categories);
      self::JoinRecentPosts(self::$Categories);
      Gdn::Cache()->Store(self::CACHE_KEY, self::$Categories, array(Gdn_Cache::FEATURE_EXPIRY => 600));
   }
protected static function BuildCache() {
      self::CalculateData(self::$Categories);
      self::JoinRecentPosts(self::$Categories);
      Gdn::Cache()->Store(self::CACHE_KEY, self::$Categories, array(Gdn_Cache::FEATURE_EXPIRY => 600));
   }
protected static function BuildCache ( ) { self :: CalculateData ( self :: $ Categories ) ; self :: JoinRecentPosts ( self :: $ Categories ) ; Gdn :: Cache ( ) -> Store ( self :: CACHE_KEY , self :: $ Categories , array ( Gdn_Cache :: FEATURE_EXPIRY => 600 ) ) ; }
Build and augment the category cache

@param array $Categories
Build and augment the category cache