我之前发布过一个版本(index.html没有写<meta http-equiv="Expires" content="0">
<meta http-equiv="Pragma" content="no-cache">
<meta http-equiv="Cache-control" content="no-cache">
<meta http-equiv="Cache" content="no-cache">),
然后我现在又往服务器发了一个版本,打开某个页面,获取的数据源都是旧的
,然后我改了url拿的就是新的了。。。。那我旧的index.html缓存到哪里去了啊,让我能访问到????
.]
应该是 CDN 缓存没有过期导致的,等 CDN 过期就可以了。
CDN 提供商一般会提供强制刷新 CDN 缓存的方法