I have configured CakePHP 2.1 to use Memcache .
But debugkit insists on using Filecache.
Is there any way to make it use Memcache instead ?
There seem to be no mention of a way to configure this at
Sign Up to our social questions and Answers Engine to ask questions, answer people’s questions, and connect with other people.
Login to our social questions & Answers Engine to ask questions answer people’s questions & connect with other people.
Lost your password? Please enter your email address. You will receive a link and will create a new password via email.
Please briefly explain why you feel this question should be reported.
Please briefly explain why you feel this answer should be reported.
Please briefly explain why you feel this user should be reported.
I found the answer after interacting with the author of the plugin.
It was quite simple as I imagined, It just wasn’t given in the documentation.
The answer can be found at this link, the hint was given by the author himself.
So we can set the config in
core.phplike so/** * Configure Debug kit to use Memcache instead of File cache */ Cache::config('debug_kit', array( 'engine' => $engine, 'prefix' => $prefix . 'debug_kit', 'path' => CACHE . 'debug_kit' . DS, 'serialize' => ($engine === 'File'), 'duration' => $duration ));Where
$enginecan be any caching engine.PS : I have requested the author to add it to the documentation