我正在尝试HTML5应用程序缓存演示
上述所有缓存文件存储在客户端的什么位置?
<!DOCTYPE html>
<html manifest="demo_html.appcache">
<body>
<script src="demo_time.js">
</script>
<p id="timePara"><button onclick="getDateTime()">Get Date and Time</button></p>
<p><img src="img_logo.gif" width="336" height="69"></p>
<p>Try opening <a href="tryhtml5_html_manifest.htm" target="_blank">this page</a>, then go offline, and reload the page. The script and the image should still work.</p>
</body>
</html>
位置取决于不同类型的浏览器,HTML 规范不会强制浏览器供应商,例如the location in Firefox
:
Windows Vista/7: C:''Users''''AppData''Local''Mozilla''Firefox''Profiles''.''OfflineCache
Mac/Linux: /users//library/caches/firefox/profiles/./OfflineCache