Implement local data store for caching.