Added differing cache timeouts for connected and not connected to internet