Dependecy of page cache is not working

Hi all!

This is my code:

class DevicesController extends RController


	public function filters()


            return array(



                    'COutputCache + status',

                    'duration' => 60,

                    'id' => 'devicesStatus',

                    'dependency' => array(

                        'class' => 'CExpressionDependency',

                        'expression' => "Yii::app()->cache->get('npingerDate')",





Yii::app()->cache->get(‘npingerDate’) return timestamp and when it’s changed cache of page must by flushed. But dependency is checking only when ended lifetime of cache.

I’m lost two days on this problem and searched all internet, but still can’t solve this problem. Can somebody help me?

Somebody please help.