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文件时,我还没有点击链接,就已经出现上图。

经过网上查阅资料,发现时因为缓存的原因。当我清理缓存后就正常了。

郑重声明:本站内容如果来自互联网及其他传播媒体,其版权均属原媒体及文章作者所有。转载目的在于传递更多信息及用于网络分享,并不代表本站赞同其观点和对其真实性负责,也不构成任何其他建议。