Properly update cached data in chunks. Do not read chunks with cache.