Hi,

I would like to use the drupal core cache tables and would like to enable memcache just on 'cache_page', 'cache_block', and 'cache'. What should I do to accomplish that? Or is it possible to do that at the moment? Any help would be appreciate. ^ ^

Comments

kbahey’s picture

Status: Active » Postponed (maintainer needs more info)

create a copy of memcache.inc, and called memcache-custom.inc.

In the cache_get() and cache_set() functions, change the code to check the $table name and if it is not one of the above, it returns with an appropriate return code.

ball.in.th’s picture

thanks for a quick reply. ^ ^

jeremy’s picture

Status: Postponed (maintainer needs more info) » Fixed

If you don't want to edit the code, try the cache router module. I believe it was designed in part to allow for this.
http://drupal.org/project/cacherouter

Status: Fixed » Closed (fixed)

Automatically closed -- issue fixed for 2 weeks with no activity.