Affects Version/s: 2012.4, 4.7.0-dev
Fix Version/s: None
Component/s: Legacy > Clustering
Hi. please correct if i'm wrong, but as far i see, having a dfs cluster setup, ezcontentlanguage_cache.php is always read from the nfs (and i think contents are taking from database if ezdbfilehandler is used...)
don't you think that this file could be read locally as it happens with view-cache or template-block files?
Further more, this "list of languages" shouldn't change lot of times in the lifetime of a project, imho...
i've been working on it and i have a patch for this. i've tested it with ezfsfilehandler, ezdfsfilehandler and ezdbfilehandler and it's working ok, but surely needs more testing.
the idea is takeng from eznodeviewfunctions (contentRetrieve, contentGenerate), so please let me know if this is a bad idea.
With the patch enabled, it seems we gain a database call...
Adding the issue now to be referred in my commit. come back with the patch soon
1. just do a fresh install and enable ezdb / ezdfscluster
2. play with your languages adding / removing some of them.
3. check your /[nfs]/var/[yourfiles]/cache/ezcontenlanguage_cache.php
this files changes but it's never stored locally.