Entitycache Multilingual

Component ID

2476981

Component name

Entitycache Multilingual

Component type

module

Maintenance status

Development status

Component security advisory coverage

not-covered

Component created

Component changed

Component body

Entitycache Multilingual

The is a Drupal module to extend the entitycache module allowing a seperate cache per language.

When to use this module

When modules attach setting and content to a module, they sometime handle localization in different ways resulting in unpredictable cache results when view entities in different languages. This module can help by adding a cached version of each language.

Dependencies

Of course this mofule depends on the entitycache module but as of April, 2015 it also depends on this patch.

Configuration

There is no UI for this module, if you enable it, it will start caching by language. You can disable specific core entity types by setting the "entitycachemultilingualdisabledentitytypes" variable with drush lke with entitycache.

i.e.

 # drush vset --format=json entitycache_multilingual_disabled_entity_types '["file", "user"]'
Contribution

This module is developed on GitHub. Pull requests are welcome. Please use the github issue tracker.

Attribution

Some code copied from @drasgardian's patch cache per language on D.O..