title: Slow reading of cache file in php
body: <p>I have a script that generates a very github-gist like code snip with code highlighting.</p>
  
  <p>Because the highlighting take a bit to render long files, I store them as cache files on the server, and if a cache file exists, I use file_get_contents to grab it and spit it out.</p>
  
  <p>I just published one of my longer snips (about 257K worth of code) and the cache file is taking just over a full second to load.</p>
  
  <p>This seems like a very long time for that size of a file. I just checked and 50K files are taking about .4 to .5 seconds.</p>
  
  <p>Any ideas on what could be causing this slow read speed?</p>