AD7six wrote:
> Hi all,
>
> if you have
> define ('CACHE_CHECK', true); // in app/config/core.php
> cache in your list of helpers // in your controller
> var $cacheAction = true; //in your controller
>
> Cake will generate cache files for your views.
>
> However (as I understand it ) cacheAction is the length of time to
> cache the view, and as such true evaluates to 1 second - set
> cacheAction to "1 hour" or some more useful time, the cached views will
> be rendered (easily verified by editing the cache file).
>
> I think* that cache does work with layouts or elements at this time.

That was meant to say: I think that cache does {not} work with layouts
or elements at this time.

However, having just run through a quick test, full page caching seems
to be working fine, without re-executing elements or re-generating the
layout from scratch (on a per url basis). Which, personally,  is
exactly what I wanted to happen.

Cheers,

AD7six


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

Reply via email to