/** * Returns cache lifetime in seconds * * @return int Longevity of cache key in seconds */ public function getCacheLifetime() { /* get Magento's standard cache key info */ $cacheKeyLifetime = parent::getCacheLifetime(); return $this->_getDispatcherHelper()->dispatchEvent('catalog_product_new_get_cache_lifetime', $cacheKeyLifetime, 'cache_lifetime'); }