Hello,
I'm using CakePHP 1.2.3 and it looks like caching routed actions
doesn't work at all.
I have a route:
Router::connect('/script/:site', array('controller' => 'projects',
'action' => 'js'), array('pass'=>array('site'),'site'=>'[A-Za-
z0-9]+'));
Router::parseExtensions('rss','js');
So this url is like "/script/name.js" is redirected to "projects/js"
action.
In projects controller i have a cacheAction:
var $cacheAction = array(
'js' => "1 hour", // action with route - doesn't work
'index' => "1 hour", // action without route - works
);
And it just doesn't cache anything. Caching actions *without* route,
like for example, projects/index, works.
Is it a bug or feature, and does it have a solution?
Thank you.
--~--~---------~--~----~------------~-------~--~----~
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
-~----------~----~----~----~------~----~------~--~---