Make cache key a configurable option

Don't assume there is a url key in the API response (incase DRF hasn't
been configured to use that).