Added caching data to disk