Closed (fixed)
Project:
Memcache API and Integration
Version:
6.x-1.x-dev
Component:
Code
Priority:
Normal
Category:
Support request
Assigned:
Unassigned
Reporter:
Created:
13 May 2010 at 05:07 UTC
Updated:
13 May 2010 at 19:26 UTC
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
Comment #1
a5342346 commentedseems 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.
Comment #2
a5342346 commentedComment #3
jeremy commentedMy 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.