title: Nginx fastcgi cache not working for session_start
body: <p>I'am following the tutorial <a href="https://www.digitalocean.com/community/tutorials/how-to-setup-fastcgi-caching-with-nginx-on-your-vps" rel="nofollow noreferrer">here</a> to setup fastcgi cache for php.
  It works and preform well. </p>
  
  <pre><code>&lt;?php
      echo time();  // the output can be cached
  ?&gt;
  </code></pre>
  
  <p>But once i add the code <code>session_start()</code>, the caching function is not working now.</p>
  
  <pre><code>&lt;?php
      session_start();
      echo time();  // cache fail
  ?&gt;
  </code></pre>
  
  <p>Can someone help? I want the php output cached with the use of session.</p>