add cache checking in  addCache method of ModelCacheManager.java