title: Magento CMS block on footer not working after cache enable
body: <p>I'm trying to show a Magento CMS block only one home page footer area, I'm using below code</p>
  
  <pre><code>$routeName = Mage::app()-&gt;getRequest()-&gt;getRouteName(); 
  $identifier = Mage::getSingleton('cms/page')-&gt;getIdentifier();
  
  if($routeName == 'cms' &amp;&amp; $identifier == 'home') {
  echo $this-&gt;getLayout()-&gt;createBlock('cms/block')-&gt;setBlockId('footer_seo')-&gt;toHtml();
  } 
  </code></pre>
  
  <p>This code working perfectly when i disable cache, but after enable cache this shows on all pages, sometimes not display on any pages.</p>
  
  <p>I tried few solutions on stack-overflow but those didn't worked , my Magento version is 1.9.2.4</p>
  
  <p>Anyone know how to fix this issue please</p>