I seem to have some problem when using CFileCache in Yii. It seem doesn't delete the expired cache automatically.
Here is my configuariton in main.php:
'cache'=>array(
'class'=>'system.caching.CFileCache',
'embedExpiry' => true
)
here is how I set the cache in my controller with 30 seconds expired time:
Yii::app()->cache->set("mykey", "somedata", 30);
Is there something wrong with my configuration or my code? I really need this to be solve. Thanks