Controlling element caching in CakePHP 2.3

Element caching is critical to site performance if used judiciously.Ā  Sometimes you want more control over the cache expiration than you get automatically. In CakePHP 1.X, you used to be able to do this as described here: <?php $key = ‘my_cached_element’; echo $this->element(’my_element’, array(’cache’ => array( ‘time’ => $do_update ? ‘-1 day’ : ‘+1 day’,… Continue reading Controlling element caching in CakePHP 2.3