mirror of
https://github.com/square/okhttp.git
synced 2026-10-24 07:59:29 +03:00
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.