title: Disabling cache on CakePHP 2.4.4
body: <p>I've read a bunch of Stackoverflow questions with the same goal: disabling cache in the CakePHP framework. However, none of these solutions has worked for me unfortunately. </p>
  
  <p>My core.php now has these values, but the caching of controllers and views is still unbearably long for development: </p>
  
  <pre><code>Configure::write('debug', 2);
  Configure::write('Cache.disable', true);
  $duration = '+1 day';
  if (Configure::read('debug') &gt; 0) {
      $duration = '+1 seconds';
  }
  </code></pre>