fix: don't cache server name lookups indefinitely
Ideally we would just use the
We now use CacheControl header from the headers crate, but I couldn't seem to find a way to serialize it's value from a reqwest::Response easily.decode() on the header map to extract the CacheControl value.
-
Tested, confirmed working as expected -
I agree to release my code and all other changes of this MR under the Apache-2.0 license
Edited by Matthias Ahouansou