Hello
I’m having a strange problem in my application (Yii Framework 1.1..
I called a function as follows:
UserDataModel::model()->cache(3600, $dependency)->getAttributes();
After calling this function I called another model and fetched the data.
ProfileModel::model()->findAll();
To my surprise, ProfileModel was also cached. When I remove the first line (UserDataModel), the ProfileModel fetches the uncached data. Since both models are different, why first model is forcing cache for the next model call ?
Is there anything wrong with my implementation ?
Thanks.
Arfeen