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
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.
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.
I am writing this guide because I struggled to find a resource that included ALL of the necessary steps to completely separate the frontend from the backend. After reading guides like Configuring different sessions for backend and frontend in yii-advanced-app and [yii2 configuring d...