when (previously) using cacherouter and varnish in front of drupal for page caching, per http://drupal.org/node/516660,
one's supposed to set:

cache_page' => array('engine' => 'none',)".

if, now, using the memcache, and still using varnish, is there a similar option to,

$conf = array(
   'cache_inc' => './sites/all/modules/memcache/memcache.inc',
   'memcache_servers' => array(
                 '127.0.0.1:11211' => 'default',
             ),
   'memcache_bins' => array(
                'cache'        => 'default',
                'cache_page'   => 'none',                 <------------------ ???   
           ),
);

and should it be done this way?

thanks!

Comments

a5342346’s picture

seems that, if using Pressflow6 (don't know abt 'stock' Drupal6), there's a "patch for Pressflow ... that makes it so that Pressflow doesn't write to the cache_page database table". the patch has already been applied to the main branch, as of RevNo 63.

so, with PF6, no 'cache_page' specification at all is required.

a5342346’s picture

Status: Active » Closed (fixed)
jeremy’s picture

My understanding is that you have to enable CACHE_EXTERNAL to disable the page cache in PressFlow. Without that option enabled in the Admin Performance page, I expect the cache to work the same as an unpatched version of Drupal 6.