Tuesday, March 27, 2012

cache helper isnt aware of routes?

I have implemented view caching on my app and it works fine
it caches view method from posts controller (posts/view)
However, after i added

Router::connect('/', array('controller' => 'posts', 'action' =>
'view',1));

it wont cache the main page. Seems it checks only url as a string and
is not aware of routes. Can anyone help me solve this issue or give me
some tips?

Thanks

--
Our newest site for the community: CakePHP Video Tutorials http://tv.cakephp.org
Check out the new CakePHP Questions site http://ask.cakephp.org and help others with their CakePHP related questions.


To unsubscribe from this group, send email to
cake-php+unsubscribe@googlegroups.com For more options, visit this group at http://groups.google.com/group/cake-php

0 Comments:

Post a Comment

Subscribe to Post Comments [Atom]

<< Home


Real Estate