I have disabled Cache pages for anonymous users from Drupal admin admin/config/development/performance.
I have set my site to point on 2 domains such as www.ex1.com and www.ex2.com. One domain is for german language and one is for English. All is working fine on my localhost where there is no memcache. But on my live server front page is getting cached.
In settings.php I have settings like below:
$conf['cache_backends'][] = 'sites/all/modules/memcache/memcache.inc';
$conf['lock_inc'] = 'sites/all/modules/memcache/memcache-lock.inc';
$conf['memcache_stampede_protection'] = TRUE;
$conf['cache_default_class'] = 'MemCacheDrupal';
// The 'cache_form' bin must be assigned to non-volatile storage.
$conf['cache_class_cache_form'] = 'DrupalDatabaseCache';
// Don't bootstrap the database when serving pages from the cache.
$conf['page_cache_without_database'] = TRUE;
$conf['page_cache_invoke_hooks'] = FALSE;
$conf['memcache_servers'] = array('memcached:11211' => 'default');
$conf['memcache_bins'] = array( 'cache' => 'default',
// Any bin that goes to 'none' will fall through to database caching.
'cache_form' => 'none', );
Do this can help like adding below line ?
$conf['memcache_bins'] = array('cache' => 'default',
'cache_page' => 'pages',
'cache_block' => 'blocks');
setting pages cache to point cache_page.
Please suggest. That will be great if someone can explain that how we stop cache_pages when we are using memcache.
UPDATE: Its happening with only view Titles ie: titles get cache if I visit one domain first and then second. It shows title language from first domain into second domain.
Thanks!