add bitmap memory cache and disk cache;