DescriptionCache failed DNS resolutions for 1 second.
This is a very small time to live, since we want to be able to respond quickly when formerly unresolvable names become resolvable.
Even such a small time is still useful, since cache misses for unresolvable names can be extremely costly (order of several seconds).
For example, in our corp PAC script, the URL's host is resolved 3 times, so:
Without caching, total runtime is (2.5 seconds) * 3 --> 7.5 seconds.
Whereas with caching it would be: (2.5 seconds) * 1 --> 2.5 seconds
This time to live will need to be tuned as part of bug 25472.
BUG=11079
Committed: http://src.chromium.org/viewvc/chrome?view=rev&revision=34238
Patch Set 1 #Patch Set 2 : Add a missing check #Patch Set 3 : Merge changes (to include API change in another file) #
Messages
Total messages: 2 (0 generated)
|