I am having trouble getting view caching to work when I configure
cacheAction with an array so only specific actions are cached, and I
think this being further confounded by routes. When I turn caching for
all actions using cacheAction = true it works fine but I don't want to
cache all actions.
For example in my routes configuration, I have a route for the
homepage:-
$Route->connect('/', array('controller' => 'sections', 'action' =>
'home'));
So I go into the Sections controller and setup the following
configuration for view caching:-
var $cacheAction = array(
'home/' => 21600
);
Yet when I observe /app/tmp/cache/views I can't see any cached files
being stored.
What am I doing wrong?
--~--~---------~--~----~------------~-------~--~----~
You received this message because you are subscribed to the Google Groups
"Cake PHP" 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
-~----------~----~----~----~------~----~------~--~---