WEB 缓存
自己在进行WEB开发时写下例如以下代码:
<html>
<meta charset="UTF-8"/>
<body>
<h1>hello world</h1>
<a href="http://blog.csdn.net/chenqiai0" target="frame1">链接到博客主页</a>
<a href="http://blog.csdn.net/chenqiai0/article/details/42013313" target="frame2">链接到本文章</a>
<iframe name="frame1" src="http://www.baidu.com" width="400px" height="400px"></iframe>
<iframe name="frame2" src="http://www.google.com" width="400px" height="400px"></iframe>
</body>
</html>此时用Firefox打开页面例如以下显示:
当我点击:链接到博客主页和链接到本文章时,链接有效。会进行跳转。例如以下:
可是当我第二次打开此html文件时,我还没有点击链接,就已经出现上图。
经过网上查阅资料,发现时由于缓存的原因。当我清理缓存后就正常了。
本人申请微信公众号:biggerlaugh,欢迎关注与交流。

浙公网安备 33010602011771号