I am using APC caching in a site and it works very well. What I would like to do though is have the controller clear this cache on a successful update.
I saw this post that suggests using the code Yii::app()->cache->destroy() but trying to do so just returns the error
CApcCache and its behaviors do not have a method or closure named "destroy".
The post is two years old so maybe things have changed but I can’t find any solution anywhere.