A somewhat cleaner way to do this is described here<http://blog.echothis.com/2012/12/17/controlling-element-caching-in-cakephp-2-3/> .
On Friday, April 2, 2010 2:14:05 PM UTC-7, phpMagpie wrote: > > DOH! A little more digging and it seems all I needed was to add the > following to my controller actions: > > @unlink(CACHE.'views'.DS.'element_'.$cacheKey.'_'.$elementName); > > Case closed :) > > -- Like Us on FaceBook https://www.facebook.com/CakePHP Find us on Twitter http://twitter.com/CakePHP --- You received this message because you are subscribed to the Google Groups "CakePHP" group. To post to this group, send email to [email protected]. To unsubscribe from this group, send email to [email protected]. Visit this group at http://groups.google.com/group/cake-php?hl=en.
