#6831: Add user id in get_cache.