Skip to content

Repository files navigation

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 "entitycache_multilingual_disabled_entity_types" variable with drush lke with entitycache.

i.e.

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

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

About

Provides caching per language for entitycache.

Resources

Stars

1 star

Watchers

2 watching

Forks

Releases

Packages

Contributors