Add abilities to switch on cache if real domain is not available.