title: Any way to chunk gzip with Apache and PHP
body: <p>I have a web application on a site that takes a while (~10 seconds) to complete a portion of the page near the bottom - it has been as optimized as it can be, and caching is not an option.</p>
  
  <p>We have compression enabled on the server via an .htaccess directive <code>SetOutputFilter DEFLATE</code> the problem is this causes the whole page to be held until completion before it starts outputting to the user, this is not optimal as the user sees nothing until the page completes.</p>
  
  <p>I have also tried it via the php <code>ob_start("ob_gzhandler");</code> method.  </p>
  
  <p>Currently I have a <code>&lt;FilesMatch &gt;</code> in my .htaccess restricting this specific script from being compressed.</p>
  
  <p>Basically my question is this - Is there a way to say chunk gzip or deflate so that the user gets it in pieces, so they can see that the page has begun loading?</p>