You can only currently disable the cache for an entity type. See http://api.drupal.org/api/drupal/modules--field--field.attach.inc/function/field_attach_load/7 :
$info = entity_get_info <http://api.drupal.org/api/drupal/includes--common.inc/function/entity_get_info/7>($entity_type); $cache_read = $load_current && $info['field cache'] && empty($options['deleted']); Dave Reid [email protected] On Sat, Jun 25, 2011 at 7:07 AM, Sven Decabooter <[email protected]>wrote: > Hi, > > Does anyone know if there's a way to avoid having fields cached in the > database table cache_fields (Drupal 7)? > This would have to be enforced from within the module that defines the > field, regardless of which entity the field is attached to.. > > After digging in the code I suppose it's just not possible, but if you have > any pointers, let me know! > Sven >
