I did exactly as on the cookbook but it just won't work.
I have this line line in my app controller var $helpers = array('Js'
=> array('Jquery'), 'Session', 'Time', 'Cache');
Then in another controller i wrote:
var $cacheAction = array(
'index' => '+1 hour'
);
I also uncommented the line about cache check on core.php
But it's not caching anything on my index action. It's only caching
actions I use inside elementes like these:
<?php echo $this->element('menu_lateral', array('cache' => '+1
hour')); ?>
Anybody has any idea on how i could get this working?
Check out the new CakePHP Questions site http://cakeqs.org and help others with
their CakePHP related questions.
You received this message because you are subscribed to the Google Groups
"CakePHP" group.
To post to this group, send email to [email protected]
To unsubscribe from this group, send email to
[email protected] For more options, visit this group at
http://groups.google.com/group/cake-php?hl=en