@Override
    public String toString() {
        final StringBuilder builder = new StringBuilder();
        builder.append("[maxObjectSize=").append(this.maxObjectSize)
                .append(", maxCacheEntries=").append(this.maxCacheEntries)
                .append(", maxUpdateRetries=").append(this.maxUpdateRetries)
                .append(", heuristicCachingEnabled=").append(this.heuristicCachingEnabled)
                .append(", heuristicCoefficient=").append(this.heuristicCoefficient)
                .append(", heuristicDefaultLifetime=").append(this.heuristicDefaultLifetime)
                .append(", sharedCache=").append(this.sharedCache)
                .append(", freshnessCheckEnabled=").append(this.freshnessCheckEnabled)
                .append(", asynchronousWorkers=").append(this.asynchronousWorkers)
                .append(", neverCacheHTTP10ResponsesWithQuery=").append(this.neverCacheHTTP10ResponsesWithQuery)
                .append(", neverCacheHTTP11ResponsesWithQuery=").append(this.neverCacheHTTP11ResponsesWithQuery)
                .append(", staleIfErrorEnabled=").append(this.staleIfErrorEnabled)
                .append("]");
        return builder.toString();
    }
Sets the flag indicating whether HTTP/1.1 responses with a query string should never be cached.

@param neverCacheHTTP11ResponsesWithQuery whether to never cache HTTP/1.1 responses with a query string
@return this instance.
httpclient5-cache/src/main/java/org/apache/hc/client5/http/impl/cache/CacheConfig.java