Is there any way the cache_display_cache table in the database can be used as a bin either in memcache or Memcache Storage modules?
The behaviour i have when i try is that the cache_display_cache table stops getting entries and when I disconect from memcache with $conf['cache_class_cache_display_cache'] = 'DrupalDatabaseCache'; that table start again getting entries but now im using slow database caching tables.
this is my settings.php config with Memcache Storage btw
$conf['cache_backends'][] = 'sites/all/modules/memcache_storage/memcache_storage.inc';
// The 'cache_form and cache_update' bins must be assigned to non-volatile storage.
$conf['cache_default_class'] = 'DrupalDatabaseCache';
$conf['cache_class_cache'] = 'MemcacheStorage';
$conf['cache_class_cache_admin_menu'] = 'MemcacheStorage';
$conf['cache_class_cache_block'] = 'MemcacheStorage';
$conf['cache_class_cache_bootstrap'] = 'MemcacheStorage';
$conf['cache_class_cache_commerce_shipping_rates'] = 'MemcacheStorage';
$conf['cache_class_cache_entity_comment'] = 'MemcacheStorage';
$conf['cache_class_cache_entity_commerce_customer_profile'] = 'MemcacheStorage';
$conf['cache_class_cache_entity_commerce_line_item'] = 'MemcacheStorage';
$conf['cache_class_cache_entity_commerce_order'] = 'MemcacheStorage';
$conf['cache_class_cache_entity_commerce_product'] = 'MemcacheStorage';
$conf['cache_class_cache_entity_file'] = 'MemcacheStorage';
$conf['cache_class_cache_entity_node'] = 'MemcacheStorage';
$conf['cache_class_cache_entity_taxonomy_term'] = 'MemcacheStorage';
$conf['cache_class_cache_entity_taxonomy_vocabulary'] = 'MemcacheStorage';
$conf['cache_class_cache_entity_user'] = 'MemcacheStorage';
$conf['cache_class_cache_field'] = 'MemcacheStorage';
$conf['cache_class_cache_filter'] = 'MemcacheStorage';
$conf['cache_class_cache_form'] = 'DrupalDatabaseCache';
$conf['cache_class_cache_image'] = 'MemcacheStorage';
$conf['cache_class_cache_l10n_update'] = 'MemcacheStorage';
$conf['cache_class_cache_libraries'] = 'MemcacheStorage';
$conf['cache_class_cache_menu'] = 'MemcacheStorage';
$conf['cache_class_cache_page'] = 'DrupalDatabaseCache';
$conf['cache_class_cache_panels'] = 'MemcacheStorage';
$conf['cache_class_cache_path'] = 'MemcacheStorage';
$conf['cache_class_cache_display_cache'] = 'MemcacheStorage';
/// $conf['cache_class_cache_render'] = 'DrupalDatabaseCache';
$conf['cache_class_cache_rules'] = 'MemcacheStorage';
$conf['cache_class_cache_token'] = 'MemcacheStorage';
$conf['cache_class_cache_update'] = 'DrupalDatabaseCache';
$conf['cache_class_cache_variable'] = 'MemcacheStorage';
$conf['cache_class_cache_views'] = 'MemcacheStorage';
$conf['cache_class_cache_views_data'] = 'MemcacheStorage';
// Move storage for sessions into memcached.
$conf['session_inc'] = 'sites/all/modules/memcache_storage/includes/session.inc';
//To enable the debug mode
//$conf['memcache_storage_debug'] = TRUE;
//The available memcached servers
$conf['memcache_servers'] = array(
'127.0.0.1:11211' => 'default',
'127.0.0.1:11212' => 'sessions',
'127.0.0.1:11213' => 'cache',
);
$conf['memcache_bins'] = array(
'cache' => 'default',
'cache_block' => 'default',
'cache_admin_menu' => 'default',
'cache_bootstrap' => 'default',
'cache_commerce_shipping_rates' => 'default',
'cache_entity_comment' => 'default',
'cache_entity_commerce_customer_profile' => 'default',
'cache_entity_commerce_line_item' => 'default',
'cache_entity_commerce_order' => 'default',
'cache_entity_commerce_product' => 'default',
'cache_entity_file' => 'default',
'cache_entity_node' => 'default',
'cache_entity_taxonomy_term' => 'default',
'cache_entity_taxonomy_vocabulary' => 'default',
'cache_entity_user' => 'default',
'cache_field' => 'default',
'cache_filter' => 'default',
'cache_image' => 'default',
'cache_l10n_update' => 'default',
'cache_libraries' => 'default',
'cache_menu' => 'default',
'cache_panels' => 'default',
'cache_path' => 'default',
'cache_display_cache' => 'cache',
/// 'cache_render' => 'default',
'cache_rules' => 'default',
'cache_token' => 'default',
'cache_variable' => 'default',
'cache_views' => 'default',
'cache_views_data' => 'default',
'sessions' => 'sessions',
'users' => 'sessions',
);
// Configure memcached extension.
$conf['memcache_options'] = array(
Memcached::OPT_COMPRESSION => TRUE,
Memcached::OPT_TCP_NODELAY => TRUE,
Memcached::OPT_BINARY_PROTOCOL => TRUE,
);
// Move storage for lock system into memcached.
$conf['lock_inc'] = 'sites/all/modules/memcache_storage/includes/lock.inc';
// Open persistent memcached connection.
$conf['memcache_storage_persistent_connection'] = TRUE;
Comments
Comment #2
nwom commentedWas wondering the same thing for Redis. Is this compatible with external storages like Memcache and Redis?
Comment #3
nwom commentedComment #4
delacosta456 commentedComment #5
pribeh commentedCan anyone answer this question?
Comment #6
Chris CharltonBump.