Using resource urls as cache key