We only need to persist the id -> url mapping when the url is changing