title: Zend Cache not working using Action Helper
body: <p>I'm trying to implement full page static caching in my Zend Framework application. Using the Static backend coupled with the Capture frontend, whole pages can be cached, and served by a .htaccess redirect in the future, until the cache is deleted/regenerated. For reference, I've been using the section on <a href="http://framework.zend.com/manual/en/zend.cache.backends.html" rel="nofollow noreferrer">Zend_Cache_Backend_Static</a> in the manual, and also some <a href="http://framework.zend.com/issues/browse/ZF-9148?focusedCommentId=38409#action_38409" rel="nofollow noreferrer">further information</a> provided by the class author.</p>
  
  <p>As per the example, I have configured the directories for the cache (static HTML files) and their tags, and I have added the line:</p>
  
  <pre><code>$this-&gt;_helper-&gt;cache(array('index'), array('allentries'));
  </code></pre>
  
  <p>to one of my controllers.</p>
  
  <p>The HTML file is created in the correct place, and the tags are also created as expected. However, the HTMl file is always blank - 0 bytes.</p>
  
  <p>I can't diagnose the problem, and I can't find any information online to help. As far as I can see it's some problem with the Output Buffering callback which receives the output from the Zend app, but I don't know precisely what's wrong.</p>
  
  <p>Can anybody shed some light on the issue?</p>