Forgot to add http:// to location.host. Also changed cached to have default expiry of 0