Monday, December 17, 2012

Re: elements, requestAction and caching [solved]

A somewhat cleaner way to do this is described here.

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 cake-php@googlegroups.com.
To unsubscribe from this group, send email to cake-php+unsubscribe@googlegroups.com.
Visit this group at http://groups.google.com/group/cake-php?hl=en.
 
 

No comments: