Hi everybody!
I develope web application that must work with highest speed.
I use cache component, but I am short of function that clean not all cache, but only group simillar to a pattern.
I offer to add new function or modify existing flush();
For example
cache->flush(pattern='*')
If pattern is not defined the function cleans all cache.
Else cleans only according to pattern cache, where pattern is regular expression
if pattern='baseMenu_*' function will clean cache with id starting with 'baseMenu_'
If Yii team add such property in the next releases I will wait.
If not - to extend cache class
thanks for Yii!