YiiHaa Webdevelopment blog about Yii-framework and more


CacheDependency, a real cache dependency

Posted by martijn

Using cache dependencies enables you to be in control of your cached data. Yii provides several dependency methods such as database, file and globalState.

They all work fine but when I use memcached as caching provider, I do not want Yii to check dependencies located on the hard drive everytime Yii::app()->cache->get() is called