Our software uses the following method for element caching in a cakePHP app:
Sample code:
<?php echo $this->element('cities-index', array('Cache' => array('time' => "12 hours")));?>
Based on the documentation, this should work just fine.
I've isolated this statement as a major cause of our web page loading slowly (this operation is costing us 0.2s per page execution), and I've come to the discovery that caching is doing absolutely nothing.
Caching is enabled in core.php and set to file, and the app/tmp folder has the right permissions. We've painstakingly gone through the cakePHP docs and are stumped.
We'd appreciate any assistance, thanks!