fixing connect to url problem with cache