def make_cache_key(*args, **kwargs):
 path = request.path
 args = str(hash(frozenset(request.args.items())))
 return (path + args).encode('ascii', 'ignore')

def make_cache_key ( * args , ** kwargs ) : path = request . path args = str ( hash ( frozenset ( request . args . items ( ) ) ) ) return ( path + args ) . encode ( 'ascii' , 'ignore' )
used by cache to get a unique key per url .