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