code: def make_cache_key(request):
      
      headers = frozenset(request._p['header'].items())
      path = frozenset(request._p['path'].items())
      query = frozenset(request._p['query'])
      return (request.url, headers, path, query)
docs: Generate a cache key from request object data