http://bakery.cakephp.org/articles/view/optimizing-your-cakephp-elements-and-views-with-caching
<?php $this->element('getevents', array('cache'=>'1 day'));?>
Also mentions how to flush the cache when you update the menu.
Geoff
--
http://lemoncake.wordpress.com
On Jul 18, 4:42 am, "Pablo Viojo" <[EMAIL PROTECTED]> wrote:
> Cake 1.1, or 1.2?
>
> On 7/17/07, Ski <[EMAIL PROTECTED]> wrote:
>
>
>
>
>
> > Hi,
>
> > Can anyone shed some light on this?
>
> > I have searched the web and there is supposed to be a tutorial in
> > the Wiki about creating a cached version of a dynamic menu manually
> > when the admin tool updates certain things.
>
> > Where would I get the wiki tutorial please?
>
> > Glen
>
> --
> Pablo Viojo
> [EMAIL PROTECTED]://pviojo.net
--~--~---------~--~----~------------~-------~--~----~
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
-~----------~----~----~----~------~----~------~--~---