It would be very cool if this module worked together with Entity API: http://drupal.org/project/entity.
There's an Entity API issue here: #1111120: Support for EntityCache which I've posted a basic start at an idea - which is to make persistent caching something that can be delegated.

The patch there (#3) allows EntityCacheControllerHelper to be passed as the value of the 'entity cache' in hook_entity_info_alter() to enable it to 'just work', I think. I haven't put much thought into exactly what needs to exist in the Persistent Cache handler and what needs to exist in the load method itself, but it seems to work with what this module, and entity API has at the moment.

Support from Acquia helps fund testing for Drupal Acquia logo

Comments

jamsilver’s picture

To allow the current EntityCacheControllerHelper to be passed as a cache plugin, the protected methods on it need to be changed to public. I'll attach a patch which achieves that, but I'm not suggesting that this is the best way forward.

Be interesting what you guys think?

catch’s picture

Status: Active » Fixed

I'm fine with making these public functions, so I went ahead and committed this, if more is needed we can look at that later.

Status: Fixed » Closed (fixed)

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

Elijah Lynn’s picture

Issue summary: View changes

correctly linking linked issue and resaving to update status

Elijah Lynn’s picture

Issue summary: View changes

Updated issue summary.