Excluding a whole entity seems simple but how about excluding only a specific node-type (bundle) for being cached?

Comments

skwashd’s picture

Status: Active » Postponed (maintainer needs more info)

@claudiu.cristea can you provide details of some use cases where this might be useful?

attiks’s picture

I have one, we are using https://www.drupal.org/project/webform_localization for a project, this module adds the right translation on node_load, but since entity_cache caches the first node load, the hook isn't fired for other languages.

attiks’s picture

nvm, there's a hook that solved my problem

Related issue #2425161: Add support for entity_cache

greggles’s picture

Status: Postponed (maintainer needs more info) » Closed (works as designed)

Thanks for the followup, attiks. It seems to me like this issue can be closed.