refactored FeatureChunkCache and IndexedDbStore.