Свойство | Type | Description | |
---|---|---|---|
$_esiClearFlag | boolean | Flag to prevent doing the ESI cache clear more than once per request | |
$_varnishAdmin | Nexcessnet_Turpentine_Model_Varnish_Admin | Cache the varnish admin object |
Méthode | Description | |
---|---|---|
banAllCache ( Varien_Object $eventObject ) : null | Do a full cache flush, corresponds to "Flush Magento Cache" and "Flush Cache Storage" buttons in admin > cache management | |
banCacheType ( Varien_Object $eventObject ) : null | Do a flush on the ESI blocks | |
banCatalogImagesCache ( Varien_Object $eventObject ) : null | Flush catalog images cache, corresponds to same button in admin cache management page | |
banCategoryCache ( Varien_Object $eventObject ) : null | Ban a category page, and any subpages on save | |
banClientEsiCache ( Varien_Object $eventObject ) : null | Clear the ESI block cache for a specific client | |
banCmsPageCache ( Varien_Object $eventObject ) : null | Ban a specific CMS page from cache after edit | |
banCmsPageRevisionCache ( Varien_Object $eventObject ) : null | Ban a specific CMS page revision from cache after edit (enterprise edition only) Events: enterprise_cms_revision_save_commit_after | |
banMediaCache ( Varien_Object $eventObject ) : null | Clear the media (CSS/JS) cache, corresponds to the buttons on the cache page in admin | |
banProductPageCache ( Varien_Object $eventObject ) : null | Ban a specific product page from the cache | |
banProductPageCacheCheckStock ( Varien_Object $eventObject ) : null | Ban a product page from the cache if it's stock status changed | |
banProductReview ( Varien_Object $eventObject ) : boolean | Ban a product's reviews page |
Méthode | Description | |
---|---|---|
_checkResult ( array $result ) : boolean | Check a result from varnish admin action, log if result has errors | |
_getVarnishAdmin ( ) : Nexcessnet_Turpentine_Model_Varnish_Admin | Get the varnish admin socket |
protected _checkResult ( array $result ) : boolean | ||
$result | array | stored as $socketName => $result |
Résultat | boolean |
protected _getVarnishAdmin ( ) : Nexcessnet_Turpentine_Model_Varnish_Admin | ||
Résultat | Nexcessnet_Turpentine_Model_Varnish_Admin |
public banAllCache ( Varien_Object $eventObject ) : null | ||
$eventObject | Varien_Object | |
Résultat | null |
public banCacheType ( Varien_Object $eventObject ) : null | ||
$eventObject | Varien_Object | |
Résultat | null |
public banCatalogImagesCache ( Varien_Object $eventObject ) : null | ||
$eventObject | Varien_Object | |
Résultat | null |
public banCategoryCache ( Varien_Object $eventObject ) : null | ||
$eventObject | Varien_Object | |
Résultat | null |
public banClientEsiCache ( Varien_Object $eventObject ) : null | ||
$eventObject | Varien_Object | |
Résultat | null |
public banCmsPageCache ( Varien_Object $eventObject ) : null | ||
$eventObject | Varien_Object | |
Résultat | null |
public banCmsPageRevisionCache ( Varien_Object $eventObject ) : null | ||
$eventObject | Varien_Object | |
Résultat | null |
public banMediaCache ( Varien_Object $eventObject ) : null | ||
$eventObject | Varien_Object | |
Résultat | null |
public banProductPageCache ( Varien_Object $eventObject ) : null | ||
$eventObject | Varien_Object | |
Résultat | null |
public banProductPageCacheCheckStock ( Varien_Object $eventObject ) : null | ||
$eventObject | Varien_Object | |
Résultat | null |
public banProductReview ( Varien_Object $eventObject ) : boolean | ||
$eventObject | Varien_Object | |
Résultat | boolean |
protected bool $_esiClearFlag | ||
Résultat | boolean |