We are aware of the other options but they would required major rework of the process.
It's a long story but it's a system we took over and way it was all setup and configured originally requires frequent changes to settings of a context. These frequent changes are due to way certain business process is performed. On top of it we also have tons of contexts.
I've dug into the code and see that update to any context setting issues a refresh command which in turn flushes resources, db and context_settings
if (!empty($updatedSettings)) {
$this->modx->cacheManager->refresh(array(
'db' => array(),
'resource' => array('contexts' => array($this->object->get('key'))),
'context_settings' => array('contexts' => array($this->object->get('key'))),
));
}
When memcache is used Refresh method calls clean method which calls flush method and in turn issues just a flush_all to memcache, ignoring all the options passed to refresh method.
It seems like that functionality for memcache wasn't fully completed
[ed. note: darkgaro last edited this post 11 years, 7 months ago.]