file cache and memory cache for data