hi all developers ;)
$cache = Zend_Cache::factory('Core','File',$frontend,$backend);
1:
$manager = new Zend_Cache_Manager;
$manager->setCache('appcache', $cache);
2:
Zend_Registry::set ( 'cache', $cache );
------------------------------------------------------------------------
which one is better for storing the $cache object ... ?
for better performance and better memory usage and etc...
--
________________
Sincerely
Sina Miandashti
MuSicBasE.ir & InvisionPower.ir Admin
2010年1月28日星期四
订阅:
博文评论 (Atom)
没有评论:
发表评论