开发者修改css时不能更新更改的内容,这其实是浏览器中缓存的原因,这里拿firefox浏览器举例禁止浏览器缓存来解决这一问题的出现:

在地址栏中打about:config

在搜索中输入:browser.cache.disk.enable

选项解释:When a page is loaded, it can be cached so it doesn’t need to be
downloaded to be redisplayed. For e-mail and news, messages and attachments are
cached as well. This preference controls whether to use the hard drivefor
caching purposes. browser.cache.disk.capacity controls the maximum amount of
disk space to use.


双击这个选项就可以更新修改的内容了。

友情链接
ioDraw流程图
API参考文档
OK工具箱
云服务器优惠
阿里云优惠券
腾讯云优惠券
华为云优惠券
站点信息
问题反馈
邮箱:ixiaoyang8@qq.com
QQ群:637538335
关注微信