解决这种问题方法很简单,只需在url后面拼接一个时间戳就行了。示例代码如下:
this.$http.get(‘./api/ratings?t=‘+ (new Date()).getTime().toString())
304 not modified 缓存问题解决
原文:http://www.cnblogs.com/zhoujx1066/p/6655397.html