将缓存设置为max-age = 0可以修复它。
@app.after_requestdef add_header(response): """ Add headers to both force latest IE rendering engine or Chrome frame, and also to cache the rendered page for 10 minutes. """ response.headers['X-UA-Compatible'] = 'IE=Edge,chrome=1' response.headers['Cache-Control'] = 'public, max-age=0' return response
欢迎分享,转载请注明来源:内存溢出
评论列表(0条)