@Deprecated
    public String generateKey(final HttpHost host, final HttpRequest request, final HttpCacheEntry entry) {
        final String rootKey = generateKey(host, request);
        final List<String> variantNames = variantNames(entry);
        if (variantNames.isEmpty()) {
            return rootKey;
        }
        return generateVariantKey(request, variantNames) + rootKey;
    }
Computes a key for the given {@link HttpHost} and {@link HttpRequest}
that can be used as a unique identifier for cached resources. if the request has a
{@literal VARY} header the identifier will also include variant key.

@param host The host for this request
@param request the {@link HttpRequest}
@param entry the parent entry used to track the variants
@return cache key

@deprecated Use {@link #generateKey(HttpHost, HttpRequest)} or {@link #generateVariantKey(HttpRequest, Collection)}
httpclient5-cache/src/main/java/org/apache/hc/client5/http/impl/cache/CacheKeyGenerator.java