Hi Im a newbie to all things cacheing...

I am trying to understand how to integrate APC and memcache for my Drupal installation. I have already installed APC and made the following mods to my settings file in accordance with APC module instructions. Do you ahve a suitable config file for integrating APC and memcache to take advantage of both cacheing systems with minimal conflicts?

$conf['cache_backends'] = array('sites/all/modules/apc/drupal_apc_cache.inc');
$conf['cache_class_cache'] = 'DrupalAPCCache';
$conf['cache_class_cache_bootstrap'] = 'DrupalAPCCache';
//$conf['apc_show_debug'] = TRUE; // Remove the slashes to use debug mode.

thanks

Comments

malc0mn’s picture

Status: Active » Fixed

Using APC for caching is really not recommended. Memcache is a far better option. The Memcache project has all the information on how to set this up.

Use APC only for 'opcode caching'. This caches the compiled PHP pages so they do not have to be recompiled for each page request. This will be a huge speed up for any website.

Status: Fixed » Closed (fixed)

Automatically closed -- issue fixed for 2 weeks with no activity.