yes, you create config with name 'short' and you use config with key 'long' in your view
for me, in cake 2.0.4 cache works fine ! -- Lep pozdrav, Tilen Majerle http://majerle.eu 2011/12/16 heohni <heidi.anselstet...@consultingteam.de> > If I put this into bootstrap: > Cache::config('short', array( > 'engine' => 'File', > 'duration' => '+10 hours', > 'path' => CACHE, > 'prefix' => 'long' > )); > > and in my view: > <?php echo $this->element('tabelle', array(), array('cache' => > array('key' => 'tab', 'config' => 'long'))); ?> > > I don't get any output?! > > is my syntax still wrong? > > On 2 Nov., 20:51, Điển vũ <meotimdi...@gmail.com> wrote: > > No, i mean: > > You cannot use nocache tags in elements. Since there are no callbacks > > around elements, they cannot be cached. ( > http://book.cakephp.org/2.0/en/core-libraries/helpers/cache.html) > > I can use <cake:nocache> in elements with cakephp 1.x but can't with cake > > 2.x > > I see it is harder to cache .... > > -- > 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+unsubscr...@googlegroups.com For more options, visit this group > at http://groups.google.com/group/cake-php > -- 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+unsubscr...@googlegroups.com For more options, visit this group at http://groups.google.com/group/cake-php