title: curl v/s file_get_contents performance for a file on same server
body: <p>Currently I am using  <code>file_get_contents</code> to fetch files from cache (i.e files from same server and i don't need the different options that CURL provides.Will i get any performance benefits if I use <code>curl</code> instead of  <code>file_get_contents</code> for my case ?</p>
  
  <pre><code>$cachepath="/dev/shm/cache";
  $cachedfile=$cachepath."/".sha1($this-&gt;URL['href']);
  $content=file_get_contents($cachedfile);
  echo $content;
  </code></pre>