add quality to cache keys