我有一个操作 /json 从服务器返回 json。
不幸的是,在 IE 中,浏览器喜欢缓存这个 json。
我怎样才能使该操作不缓存?
确保您的响应标头具有:
Cache-Control: no-cache Pragma: no-cache Expires=-1