Alter caching to use SHA1 hashing instead of file modified time