def get_cache_key(request, key_prefix=None):
    if key_prefix is None:
        key_prefix = settings.CACHE_MIDDLEWARE_KEY_PREFIX
    cache_key = 'views.decorators.cache.cache_header.%s.%s' % (key_prefix, request.path)
    headerlist = cache.get(cache_key, None)
    if headerlist is not None:
        return _generate_cache_key(request, headerlist, key_prefix)
    else:
        return None
Returns a cache key based on the request path. It can be used in the
dataset/ETHPy150Open AppScale/appscale/AppServer/lib/django-0.96/django/utils/cache.py/get_cache_key