Closed (fixed)
Project:
Memcache API and Integration
Version:
6.x-1.3
Component:
Documentation
Priority:
Normal
Category:
Support request
Assigned:
Unassigned
Reporter:
Created:
28 Jul 2009 at 09:27 UTC
Updated:
10 May 2010 at 22:30 UTC
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
Comment #1
kbahey commentedcreate 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.
Comment #2
ball.in.th commentedthanks for a quick reply. ^ ^
Comment #3
jeremy commentedIf 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