added sha1 to cache key to avoid 'MemcachedKeyLengthError: Key length is > 250' errors