Skip to content

Instantly share code, notes, and snippets.

@nicksantamaria
Created October 24, 2012 23:34
Show Gist options
  • Star 0 You must be signed in to star a gist
  • Fork 0 You must be signed in to fork a gist
  • Save nicksantamaria/3949612 to your computer and use it in GitHub Desktop.
Save nicksantamaria/3949612 to your computer and use it in GitHub Desktop.
redis config
<?php
// Redis configuration
$redis_path = 'profiles/aibm_profile/modules/contrib/redis';
$conf['cache_backends'][] = $redis_path .'/redis.autoload.inc';
$conf['redis_client_interface'] = 'PhpRedis';
$conf['cache_prefix'] = array(
'default' => 'pantheon-redis',
);
$conf['cache_default_class'] = 'Redis_Cache';
// Probably worth reviewing which of these bins actually are worthwhile putting in Redis
$conf['cache_class_cache'] = 'Redis_Cache';
$conf['cache_class_cache_menu'] = 'Redis_Cache';
$conf['cache_class_cache_bootstrap'] = 'Redis_Cache';
$conf['cache_class_cache_ctools_plugin_files'] = 'Redis_Cache';
$conf['cache_class_cache_entity_info'] = 'Redis_Cache';
$conf['cache_class_cache_schema'] = 'Redis_Cache';
$conf['cache_class_cache_plugins'] = 'Redis_Cache';
$conf['cache_class_cache_apachesolr'] = 'Redis_Cache';
$conf['cache_class_cache_block'] = 'Redis_Cache';
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment