Question : yii 1 clear cache
Answered by : index-out-of-bounds
Yii::app()->cache->flush();
Source : https://stackoverflow.com/questions/24035320/yii-delete-all-query-cache | Last Update : Wed, 19 Aug 20
Question : yii1 refresh cache schema
Answered by : muhammad-waseem
Yii::app()->db->schema->getTables();
// clear the cache of all loaded tables
Yii::app()->db->schema->refresh();
Source : | Last Update : Sat, 19 Dec 20