title: Magento remove block only works with cache disabled
body: <p>I have a static block that gets added to the footer reference on every page. My homepage is a CMS page and I've put code in the pages Layout Update XML to remove the block from that page.</p>
  
  <p>This is how it's added to the footer for all pages:</p>
  
  <p>In page.xml inside </p>
  
  <pre><code>&lt;reference name="footer"&gt;
    &lt;block type="cms/block" name="page_cta" before="-"&gt;
      &lt;action method="setBlockId"&gt;&lt;block_id&gt;page_cta&lt;/block_id&gt;&lt;/action&gt;
    &lt;/block&gt;
  &lt;/reference&gt;
  </code></pre>
  
  <p>Code in my homepages layout update xml to remove the block:</p>
  
  <pre><code>&lt;reference name="footer"&gt;
    &lt;remove name="page_cta" /&gt;
  &lt;/reference&gt;
  </code></pre>
  
  <p>The block shouldn't show on the homepage and should show on all other pages. This works fine but only if the cache is disabled. What seems to happen is the cache is enabled then I view the homepage and the block is removed but then it is also removed on every other page.</p>
  
  <p>Can anyone shed some light on why this doesn't work if the cache is enabled?</p>