Created
October 24, 2012 23:34
-
-
Save nicksantamaria/3949612 to your computer and use it in GitHub Desktop.
redis config
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
<?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