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.
Cheers,
AD7six
* Due to limited time I´ve yet to discover if the reason my elements
and layouts generate errors is AD7six specific or not ;).
--~--~---------~--~----~------------~-------~--~----~
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
-~----------~----~----~----~------~----~------~--~---