编码HTML时,浏览器并不总是检测到更改 [英] When coding HTML, browser doesn't always detect changes

查看:115
本文介绍了编码HTML时,浏览器并不总是检测到更改的处理方法,对大家解决问题具有一定的参考价值,需要的朋友们下面随着小编来一起学习吧!

问题描述

当我编写HTML和CSS并在浏览器中加载页面来检查更改时,有时它不会更新一段时间。这显然会导致增量更改的问题,因为很难判断它是否适合我的最新更改。



我想知道是否有解决方法?可能是浏览器(或模式),这是特别针对这种情况,没有这种行为? 在Windows上的Ctrl + F5 或OSX上的 Cmd + Shift + R 浏览器在加载页面时读取缓存(至少在Chrome或Firefox时)


When I'm coding HTML and CSS and load the page in the browser to check changes, sometimes it doesn't update for a while. This obviously causes problems with incremental changes where it's hard to tell if it's changed to suit my latest change or not.

I was wondering if there was a way around this? Possibly a browser (or mode) which is especially for this situation that doesn't have this behaviour?

解决方案

Try Ctrl+F5 on Windows or Cmd+Shift+R on OSX, this will avoid your browser reading its cache when loading the page (at least when it's Chrome or Firefox)

这篇关于编码HTML时,浏览器并不总是检测到更改的文章就介绍到这了,希望我们推荐的答案对大家有所帮助,也希望大家多多支持IT屋!

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