django get请求会获取旧的数据,检测get请求未执行方法 但经过了中间件,不知道为什么

 'django.middleware.cache.UpdateCacheMiddleware',   # This must be first on the list
    'django.middleware.security.SecurityMiddleware',
    'django.contrib.sessions.middleware.SessionMiddleware',
    'django.middleware.common.CommonMiddleware',
    # 'django.middleware.csrf.CsrfViewMiddleware',
    'django.contrib.auth.middleware.AuthenticationMiddleware',
    'django.contrib.messages.middleware.MessageMiddleware',
    'django.middleware.clickjacking.XFrameOptionsMiddleware',
    'MiddleWare.auth.authenticationMiddleWare',
    'django.middleware.cache.FetchFromCacheMiddleware', # This must be last

以上是中间件

查看下中间建是否存在缓存,排查可以先去掉中间件检查你接口实现是否有问题