禁用浏览器缓存网站开发 [英] Disabling Chrome cache for website development
问题描述
我修改网站的外观(CSS修改),但无法看到,因为铬恼人的持续性高速缓存的结果。我试图<大骨节病>移动骨节病> +刷新,但它不工作。
我怎么可以暂时禁用缓存或刷新页面以某种方式,我可以看到的变化?
I am modifying a site's appearance (css modifications) but can't see the result on chrome because of annoying persistent cache. I tried shift+refresh but it doesn't work. how can i disable the cache temporarily or refresh the page in some way that I could see the changes?
感谢。
推荐答案
中的Chrome DevTools可以禁用缓存。
The Chrome DevTools can disable the cache.
右键单击和检查元素
来打开DevTools。现在点击 网络
在工具栏中。最后,查看的禁用缓存
复选框顶部。
Right-click and Inspect Element
to open the DevTools. Now click Network
in the toolbar. Finally, check the Disable cache
checkbox at the top.
请记住,作为一个鸣叫从@ChromiumDev指出,此设置的仅在devtools活跃是开放
Keep in mind, and as a tweet from @ChromiumDev stated, this setting is only active while devtools is open.
这篇关于禁用浏览器缓存网站开发的文章就介绍到这了,希望我们推荐的答案对大家有所帮助,也希望大家多多支持IT屋!