如图示,图1位旧版本的雪碧图,图2为新的雪碧图比图1多一个蓝色图标,增加一个图标后图1替换成图2,图片定位显示为最后一个新增的图标,在手机上显示,安卓机会出现缓存问题,导致缓存的图片依旧为图1,使得蓝色图标显示不出来,这该如何解决
css:background:url(index.png)
只改变了background-position
认证0级讲师
Image caching, just add the version number.
background:url(index.png?v=1)
If you use PostCSS, you can use tools to automatically handle it: https://www.npmjs.com/package...
Image caching, just add the version number.
background:url(index.png?v=1)
If you use PostCSS, you can use tools to automatically handle it: https://www.npmjs.com/package...