convert url to a key for caching shared Media objects.
url
The default implementation of this function will use the complete URL including the query parameters to return a key.