changed cache Digest::SHA1.hexigest