separated cache-management from install