除非清除缓存,否则 Google chrome css 不会更新 [英] Google chrome css doesn't update unless clear cache
本文介绍了除非清除缓存,否则 Google chrome css 不会更新的处理方法,对大家解决问题具有一定的参考价值,需要的朋友们下面随着小编来一起学习吧!
问题描述
我正在尝试在我的本地服务器上工作,但如果我想查看 css 规则的变化,我必须每次都清除缓存.
I'm trying to work in my local server but I have to clear my cache every time if I want to see changes on the css rules.
有什么办法可以控制谷歌浏览器的缓存?
There is any way to control Google Chrome cache?
推荐答案
- 打开
DevTools
- 打开
Settings
(右下角或使用F1
快捷键) - 检查
禁用缓存(DevTools打开时)
- Open
DevTools
- Open
Settings
(bottom right or useF1
shortcut) - Check
Disable cache (while DevTools is open)
https://developers.google.com/chrome-developer-tools/docs/settings#一般
这篇关于除非清除缓存,否则 Google chrome css 不会更新的文章就介绍到这了,希望我们推荐的答案对大家有所帮助,也希望大家多多支持IT屋!
查看全文