This has come up a couple times before.

There is a ticket with a fix:
https://trac.cakephp.org/ticket/1349

I also wrote a blog post about this, which includes a workaround that
doesn't involve changing core files, but does uses a redirect.
http://www.siteamonth.com/archives/2007/02/21/cakephp-cache-workarounds-part-1/

-Matt
www.pseudocoder.com





On Sep 5, 2:03 am, Baz <[EMAIL PROTECTED]> wrote:
> This is my setup:
>
>    - In controller:
>    var $cacheAction = 'true';
>    var $helper = array('Cache', etc);
>    - In config:
>    define('CACHE_CHECK', true);
>    - In Routes.php:
>    Router::connect('/', array('controller' => 'contents', 'action' =>
>    'view', 'home'));
>
> This caches the view:
>  - site.com/contents/view/home
>
> This does not:
>  - site.com/
>
> I'm not sure if this is a bug or a design thing. Don't wanna submit a false
> bug report.
> --
> Baz L
> Web Development 2.0: Web Design, CakePHP, 
> Javascripthttp://www.WebDevelopment2.com/


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

Reply via email to