Hi,

Now that I've finished my site in php, I'd like to take a closer look
at caching.
I've installed APC, and this seems to work, but am I doing this the
right way?

Links to articles etc would help greatly, the chapter of caching
hasn't been written in the documentation and can't seem to find
anything usefull using google.

In the config file I have uncommented this:
         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
        ));

I also see stuff in the config like "Memcache" and  Cake Model/File
caching, is there any benefit in enabling more then 1?(haven't tried),
or is this not possible and everything is already cached by APC?

I've also run into the problem of running multiple app's with APC
caching enabled, I'm getting(in error_log):
         [apc-error] Cannot redeclare class cakesession

They do use the same database and tables, but otherwise are completely
seperate.

Any suggestions on improving it are welcome, this is the first time
I'm using caching(only had shared hosting before:p)

Crazy
--~--~---------~--~----~------------~-------~--~----~
You received this message because you are subscribed to the Google Groups 
"CakePHP" group.
To post to this group, send email to cake-php@googlegroups.com
To unsubscribe from this group, send email to [EMAIL PROTECTED]
For more options, visit this group at 
http://groups.google.com/group/cake-php?hl=en
-~----------~----~----~----~------~----~------~--~---

Reply via email to