How can I disable the caching of:
Mage::getSingleton('cms/page')->getIdentifier()
I need to disable the cache for this because I want to show a static block only at the "home" page like:
<?php if (Mage::getSingleton('cms/page')->getIdentifier() == 'home' && Mage::app()->getFrontController()->getRequest()->getRouteName() == 'cms'): ?>
<div>
<?php echo $this->getLayout()->createBlock('cms/block')->setBlockId('shop-description-long')->toHtml() ?>
</div>
<?php endif; ?>
At the moment magento caching this page id and I can see this block on every page.