Posted by ball.in.th on July 28, 2009 at 9:27am
Jump to:
| Project: | Memcache API and Integration |
| Version: | 6.x-1.3 |
| Component: | Documentation |
| Category: | support request |
| Priority: | normal |
| Assigned: | Unassigned |
| Status: | closed (fixed) |
Issue Summary
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
#1
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.
#2
thanks for a quick reply. ^ ^
#3
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
#4
Automatically closed -- issue fixed for 2 weeks with no activity.