changed ICacheService API and related changes