自己在进行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打开页面例如以下显示:
WEB 缓存

WEB 缓存

当我点击:链接到博客主页和链接到本文章时,链接有效。会进行跳转。例如以下:

WEB 缓存

WEB 缓存

可是当我第二次打开此html文件时,我还没有点击链接,就已经出现上图。

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

本人申请微信公众号:biggerlaugh,欢迎关注与交流。

相关文章:

  • 2021-05-05
  • 2018-04-29
  • 2022-01-04
猜你喜欢
  • 2021-11-09
  • 2021-12-24
相关资源
相似解决方案