optimized removeURL

* added removeURLFromCache
* optimized removeURL to use that new function