Tuesday, February 22, 2011

caching with pages and '/' route

Hi there,

I have the following routes defined:

Router::connect('/', array('controller' => 'splashes', 'action' =>
'index'));
Router::connect('/home', array('controller' => 'pages', 'action' =>
'display', 'home'));

And when I enable caching I get 1 cache file created when I hit the
site index called 'home' and then the '/home' page just displays the
cached initial page...

Any ideas why?

d//t.

--
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

No comments: