七牛云缓存刷新预取

刷新预取

 

七牛云刷新文件缓存时如果域名开启的url参数,那么刷新只会刷新一样参数的,如

ckeditor config文件为

http://src.debug.guangdamiao.com/ckeditor/config.js

但ckeditor获取时用的是http://src.debug.guangdamiao.com/ckeditor/config.js?t=H5SC

如果刷新http://src.debug.guangdamiao.com/ckeditor/config.js的预取

那http://src.debug.guangdamiao.com/ckeditor/config.js?t=H5SC获取到的还是旧文件

 

一开始还以为出问题了,怎么清缓存都刷获取不到新的文件!!!

posted @ 2017-10-08 22:24  cdongyang  阅读(458)  评论(0编辑  收藏  举报