Right now if you want to clear the cache on let's say hook_node_load(), you can't do this for cached nodes, because hooks aren't executed.

What I suggest is to have entitycache hooks, which get executed instead of all hook_node_load() or something similar, because in certain cases, you would want to clear the cache for certain nodes.

Thanks.

Comments

skwashd’s picture

Issue summary: View changes
Status: Active » Postponed (maintainer needs more info)

Couldn't this be handled by the implementing existing core hook_entity_load()?

amontero’s picture

Perhaps the Cache Object API module might be useful.
Also, I've linked to another similar issue.