Property | Type | Description | |
---|---|---|---|
$_aNeverCacheBlocks | array | Blocks that should never be cached | |
$iCacheLifetime | integer | Cache lifetime |
Method | Description | |
---|---|---|
__construct ( ) | Sets the cache lifetime from store configuration | |
customBlockCache ( Varien_Event_Observer $observer ) : self | ||
replaceFormKey ( Varien_Event_Observer $observer ) : self | Replace the form key |
Method | Description | |
---|---|---|
_generateCategoryCacheKey ( Varien_Event_Observer $observer, string $sKey ) : string | Generate a category cache key | |
_getParamKey ( string $vParam ) : string | Creates a Key from the request param. This key is used for creating unique Cache Key, and Cache Tag | |
_getProductId ( ) : mixed | Fetches the current product id from two possible registry keys. | |
_getReviewToolBarKey ( ) : string | This creates a Key for the Review List ToolBar based on params Page:P and Review Limit:limit. |
Method | Description | |
---|---|---|
_generateProductCacheKey ( Varien_Event_Observer $observer, Mage_Catalog_Model_Product $oProduct, string $reviewKey, string $alias, string $vTemplate ) : string | Create separate cached block for each product, viewed by each customer group (e.g. to cache different tax display rules) | |
_generateProductCacheTags ( Varien_Event_Observer $observer, Mage_Catalog_Model_Product $oProduct ) : array | Accommodated grouped products by adding the tag for each associated product. |
protected _generateCategoryCacheKey ( Varien_Event_Observer $observer, string $sKey ) : string | ||
$observer | Varien_Event_Observer | |
$sKey | string | |
return | string |
protected _getParamKey ( string $vParam ) : string | ||
$vParam | string | |
return | string |
protected _getProductId ( ) : mixed | ||
return | mixed |
protected _getReviewToolBarKey ( ) : string | ||
return | string |
public customBlockCache ( Varien_Event_Observer $observer ) : self | ||
$observer | Varien_Event_Observer | |
return | self |
public replaceFormKey ( Varien_Event_Observer $observer ) : self | ||
$observer | Varien_Event_Observer | |
return | self |
protected array $_aNeverCacheBlocks | ||
return | array |