1
0
mirror of https://github.com/square/okhttp.git synced 2026-10-24 07:59:29 +03:00
Files
Jesse Wilson d291c023c9 Enable in-memory caching in DnsOverHttps and AndroidDns (#9594)
The default cache size is 1,000, which is effectively unbounded
for mobile apps, which likely call a few dozen API servers, ad
networks, and analytics systems.

I don't expect DnsOverHttps to be deployed in other environments.
If so, it's possible this cache will be problematic, as even
10-second stale results can be problematic for server
environments. I'll put an appropriate warning about this in our
release notes.
2026-07-25 23:18:15 -04:00
..