Quantcast
Channel: Yii Framework Forum
Viewing all articles
Browse latest Browse all 18717

How Does Yii Cache Works?

$
0
0
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).

Viewing all articles
Browse latest Browse all 18717

Latest Images

Trending Articles



Latest Images

<script src="https://jsc.adskeeper.com/r/s/rssing.com.1596347.js" async> </script>