禁用浏览器缓存网站开发 [英] Disabling Chrome cache for website development

查看:95
本文介绍了禁用浏览器缓存网站开发的处理方法,对大家解决问题具有一定的参考价值,需要的朋友们下面随着小编来一起学习吧!

问题描述

我修改网站的外观(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屋!

查看全文
登录 关闭
扫码关注1秒登录
发送“验证码”获取 | 15天全站免登陆