Entity cache puts core entities into Drupal's cache API.
Due to the entity loading changes in Drupal 7, no core patches are required.
How to use it
This module has no user interface, if you enable it, entities will start being cached, if you disable it, they'll stop.
Supported core entities
- Taxonomy terms
- Taxonomy vocabularies
Support for contrib entities:
There is no automated support for contrib entities, to use entitycache for a contrib or custom entity:
- Create a cache_entity_$myentity table/bin.
- Specify EntityCacheDefaultEntityController as your controller class in hook_entity_info(), or extend it.
- Never update your entity tables outside of save/delete API calls.
Entity cache is now set up for automated testing on Drupal.org, see current HEAD status.