adding APC cache configuration to cakephp1.2
First install apc module in php by following this tutorial
vi app/config/core.php
and delete the last line
Cache::config('default', array('engine' => 'File'));
and replace it with
Cache::config('default', array(
'engine' => 'Apc' ,//[required]
'duration'=> 3600, //[optional]
'probability'=> 100, //[optional]
'prefix' => Inflector::slug(APP_DIR) . '_', //[optional] prefix every cache file with this string
));
Subscribe to:
Post Comments (Atom)
No comments:
Post a Comment