At the top of PagesController.php I have:
var $cacheAction = array (
'display/index/' => array('callbacks' => false, 'duration' => '+1 week'),
'index' => array('callbacks' => false, 'duration' => '+1 week'),
'/' => array('callbacks' => false, 'duration' => '+1 week'),
);
But still, when I visit the homepage either through '/' or '/pages/index/' -- nothing caches.
Does the PagesController follow different rules than other controllers when it comes to view caching? I am at a loss...
You received this message because you are subscribed to the Google Groups "CakePHP" group.
To post to this group, send email to cake-php@googlegroups.com.
To unsubscribe from this group, send email to cake-php+unsubscribe@googlegroups.com.
Visit this group at http://groups.google.com/group/cake-php?hl=en-US.
No comments:
Post a Comment