我在 angularjs 中面临缓存问题,我已经尝试过
<meta http-equiv="cache-control" content="no-cache, must-revalidate, post-check=0, pre-check=0">
<meta http-equiv="expires" content="0">
<meta http-equiv="pragma" conten="no-cache">
并在请求标头中
headers : {
'cache': 'false',
'Cache-Control': 'no-cache',
'Cache-Control': 'private',
'Cache-Control': 'must-revalidate',
'Cache-Control': 'max-age=0'
},
如果我修改了第 1 页中的输入,稍后如果我再次返回第 1 页,则修改后的输入有时会从缓存数据中获取值。
如何解决angularjs中的这个缓存问题?