Changed to require a cache_dir and a cache_url. both must point to the same place. [ci skip]