Limit the cache only to members "active"

Signed-off-by: emanuele <emanuele45@gmail.com>