How do you exclude a cache table?

Jody Lynn - June 29, 2009 - 19:38
Project:Memcache API and Integration
Version:6.x-1.x-dev
Component:Documentation
Category:support request
Priority:normal
Assigned:Unassigned
Status:closed
Description

I have the same question as this person: http://drupal.org/node/499920

Including cache_form in memcache causes various AHAH form problems occasionally and we are currently excluding it via a big custom patch. If I use 'memcache_bins' in $conf to list the cache tables, will it exclude the tables I don't list or just stick them into 'default'? What's best practice for excluding a cache table?

Thanks

#1

Jeremy - July 13, 2009 - 19:54
Status:active» fixed

If you don't define a table, it will just go into 'default'. The memcache project completely replaces the database cache -- perhaps you could hack memcache.db.inc to do what you want, but it's not really the intention.

You should instead look into this project: http://drupal.org/project/cacherouter

#2

Jeremy - July 13, 2009 - 20:03

Here's an example of a patch applied against the memcache module to exclude a table:
http://drupal.org/node/406050#comment-1765168

#3

System Message - July 27, 2009 - 20:10
Status:fixed» closed

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

 
 

Drupal is a registered trademark of Dries Buytaert.