title: codeigniter generating thousands of cache files
body: <p>I just upgraded codeigniter and am trying to use its internal page caching for the first time. Problem is, it seems to be generating thousands of cache files.</p>
  
  <p>It created 65,000 in a week, the site at most has 10k pages, of which no more than 2,000 are visited in a month.</p>
  
  <p>It's very simple to use, It's one line just as described in the docs.</p>
  
  <p><code>php
  public function article($permalink){
    $data['article'] = $this-&gt;getArticleByPermalink($permalink);
    $this-&gt;output-&gt;cache(60*24);
    $this-&gt;load-&gt;view('article', $data);
  }
  </code></p>
  
  <p>I have it set, for its lowest cache time, 24 hours. I've seen the fix of putting them in different folders - but why is that required? Shouldn't it be making one cache file per page and only one when/if that page is visited?</p>
  
  <p>Is this expected behavior?</p>