You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
While sending the request HttpClient will check this option and add accept-encoding header.
From vertx-core-3.6.2-sources.jar!/io/vertx/core/http/impl/Http1xClientConnection.java:
if (conn.options.isTryUseCompression() && request.headers().get(ACCEPT_ENCODING) == null) {
// if compression should be used but nothing is specified by the user support deflate and gzip.
request.headers().set(ACCEPT_ENCODING, DEFLATE_GZIP);
}
To be PBS flexible, we think it should be configurable, like http-client.use-compression with true|false values available.
We have found that Vert.x HttpClient supports compression in responses. We think that we could configure BasicHttpClient to use this feature.
Once activated, we expect a performance improvement between PBS and bidders.
BTW, do you think this feature should be configurable?
The text was updated successfully, but these errors were encountered: