Hi Guys,
Recently I was researching options to enhance Yii application performance and came across Yii’s cache mechanism.
Can anyone please explain me how does this actially works?
I have used Memcache key-value store,
array(
......
'components'=>array(
......
'cache'=>array(
'class'=>'system.caching.CMemCache',
'servers'=>array(
array('host'=>'server1', 'port'=>11211, 'weight'=>60),
array('host'=>'server2', 'port'=>11211, 'weight'=>40),
),
),
),
);
I am willing to implement this feature for one of my legacy non Yii (vanilla PHP app).