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

  • Nodes
  • Comments
  • Taxonomy terms
  • Taxonomy vocabularies
  • Files
  • Users

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.

Tests

Entity cache is now set up for automated testing on Drupal.org, see current HEAD status.

This module is being developed for Drupal 7, and will never be backported to Drupal 6. For Drupal 6 you may want to look at this pressflow merge request or http://drupal.org/project/advcache.

Initial development of this module was partly sponsored by CivicActions and NowPublic.com.

Downloads

Recommended releases

Version Downloads Date Links
7.x-1.1 tar.gz (12.58 KB) | zip (14.38 KB) 2011-Sep-13 Notes

Development releases

Version Downloads Date Links
7.x-1.x-dev tar.gz (14.21 KB) | zip (16.19 KB) 2012-Jul-25 Notes

Project Information


Maintainers for Entity cache

  • catch - 74 commits
    last: 43 weeks ago, first: 3 years ago

Issues for Entity cache

To avoid duplicates, please search before submitting a new issue.
All issues
Bug reports
Statistics (2 years)
New issues
Open bugs
Participants