This project is not covered by Drupal’s security advisory policy.
Fasterer caching on multi-webheaded Drupal installs. This module will try to get cache items from a fast cache (probably local, like APC), then fallback to a central, consistent cache. Local cache items are only used if they are newer than the last write to the central cache bin they are in front of.
Ideally your fast cache will be APCu, and your central cache will be Memcache or Redis
By default, this module will put APCu in front of Drupal's database caching. Put this in your settings.php to get going:
// Change the 'cache_backends' path if you installed schrodicache somewhere other
// than 'sites/all/modules'.
$conf['cache_backends'][] = 'sites/all/modules/schrodicache/schrodicache_cache.inc';
$conf['cache_class_cache_form'] = 'DrupalDatabaseCache';
$conf['cache_default_class'] = 'SchrodiCacheCache';
// Change this to something unique to your site.
$conf['schrodicache']['apc_prefix'] = 'YOUR_SITE_PREFIX';
To specify a different central cache, set $conf['schrodicache']['consistent_backend'] like this:
// This example will use Memcache as the central cache.
$conf['cache_backends'][] = 'sites/all/modules/schrodicache/schrodicache_cache.inc';
$conf['cache_backends'][] = 'sites/all/modules/memcache/memcache.inc';
$conf['cache_class_cache_form'] = 'DrupalDatabaseCache';
$conf['schrodicache']['consistent_backend'] = 'MemCacheDrupal';
$conf['cache_default_class'] = 'SchrodiCacheCache';
// Change this to something unique to your site.
$conf['schrodicache']['apc_prefix'] = 'YOUR_SITE_PREFIX';
Thanks alexpott for the name :-)
Project information
- Project categories: Performance
- By Unsupported Projects on , updated
This project is not covered by the security advisory policy.
Use at your own risk! It may have publicly disclosed vulnerabilities.