Store the query by hash the request url, with async support.