According to the manual http://jp.php.net/manual/en/memcache.installation.php;
According to the manual http://jp.php.net/manual/en/memcache.installation.php;
Hello, this article will describe some aspects about caching controllers with filters() method in your controller. And I will describe some problems I meet when using this approach for caching, the main problem was
The config first required In CApplication constructor
If you like the things to be short and clear, then you can skip right to a short summary of instructions at the end of this article.
First param in CActiveDataProvider could be a string with model name or instance of class. So, you may use CActiveRecord::cache() for cache, but you need set third param to 2, because you should cache 2 queries: counting and get data.