3 ms·
AFAIK not only does the browser cache the IP address, but the many DNS servers (user ISP or any others) also cache the IP addresses. I wouldn't expect all the
by niyazpk 16y ago
AFAIK not only does the browser cache the IP address, but the many DNS servers (user ISP or any others) also cache the IP addresses.
I wouldn't expect all the DNS servers out there to check for a new IP every couple of minutes. Many of them manage their cache according to their policies, not strictly according to the arbitrary constraints set by the individual domains.
BTW shouldn't some default variant load in the site if your service is not working?
- paraschopra 16y agoToday, almost all DNS servers who cache entries respect TTL values. We did a number of benchmarks and observed that TTL was respected in all cases. Ultimately it boils down to the browser caching DNS. Yes, default variant loads if service isn't working. The slowdown part occurs when browser tries to connect to our service for loading JS but our servers don't respond. The timeout for this kind of behavior is 60 seconds. That means for only after 60 seconds, browser will abandon its attempt for connecting.