====== getCache ====== {#JAPI Joomla.Framework Cache JCache::getCache #} This method is deprecated, use [[references:joomla.framework:jfactory-getCache|JFactory::getCache]] instead. This method calls the [[references:joomla.framework:jfactory-getCache|JFactory::getCache]] method. ===== Syntax ===== void &getCache ( **$group** ) | **$group** | mixed | is a string containing the default group to use. This parameter is optional and if omitted defaults to an empty string. | ===== Examples ===== jimport( 'joomla.cache.cache' ); $cache =& JCache::getCache(); ~~DISCUSSION~~