Before loading the cache, first check the checksum of the file to ensure that the file did not change since the cache was created.