【发布时间】:2013-09-10 15:35:18
【问题描述】:
我在线学习 JavaScript 和 Html 5,并在 localhost 上执行我学到的代码。最近我学习了 html 标签中的 manifest 属性,这是 Html 5 中的一个新特性。然后我制作了自己的 .appcache 文件,问题就开始了。即使我已连接到 Internet,但存储在我计算机中的缓存仍在使用中。这是 index.php 文件(但代码中没有 php):
<html manifest="./cevrimdisi.appcache">
<head>
<meta charset="UTF-8">
<title>BAŞLIK</title>
</head>
<body>
<font id="demo">Kutay</font>
<script>
document.getElementById("demo").style.color="blue";
</script>
</body>
</html>
cevrimdisi.appcache:
CACHE MANIFEST
# 09/09/2013
CACHE:
index.php
FALLBACK:
cevrimdisi.html
NETWORK:
*
.htaccess
AddType text/cache-manifest .appcache
【问题讨论】:
标签: html html5-appcache