add support to cache digests