| @@ 295-305 (lines=11) @@ | ||
| 292 | * |
|
| 293 | * @return string |
|
| 294 | */ |
|
| 295 | public function getCacheClearEventsCacheKey() { |
|
| 296 | $design = Mage::getDesign(); |
|
| 297 | return Mage::helper('turpentine/data') |
|
| 298 | ->getCacheKeyHash(array( |
|
| 299 | 'FILE_LAYOUT_ESI_CACHE_EVENTS', |
|
| 300 | $design->getArea(), |
|
| 301 | $design->getPackageName(), |
|
| 302 | $design->getTheme('layout'), |
|
| 303 | Mage::app()->getStore()->getId(), |
|
| 304 | )); |
|
| 305 | } |
|
| 306 | ||
| 307 | /** |
|
| 308 | * Get the cache key for the file layouts xml |
|
| @@ 312-322 (lines=11) @@ | ||
| 309 | * |
|
| 310 | * @return string |
|
| 311 | */ |
|
| 312 | public function getFileLayoutUpdatesXmlCacheKey() { |
|
| 313 | $design = Mage::getDesign(); |
|
| 314 | return Mage::helper('turpentine/data') |
|
| 315 | ->getCacheKeyHash(array( |
|
| 316 | 'FILE_LAYOUT_UPDATES_XML', |
|
| 317 | $design->getArea(), |
|
| 318 | $design->getPackageName(), |
|
| 319 | $design->getTheme('layout'), |
|
| 320 | Mage::app()->getStore()->getId(), |
|
| 321 | )); |
|
| 322 | } |
|
| 323 | ||
| 324 | /** |
|
| 325 | * Generate an ESI tag to be replaced by the content from the given URL |
|