【问题标题】:Where HTML5 Application Cache file store in client side?HTML5 应用程序缓存文件存储在客户端的哪里?
【发布时间】:2013-10-04 14:07:49
【问题描述】:

我正在尝试HTML5 Application Cache DEMO

以上所有缓存文件在客户端存储在哪里?

<!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>

【问题讨论】:

标签: javascript php jquery html


【解决方案1】:

位置取决于不同类型的浏览器,HTML规范不强制浏览器供应商,例如the location in Firefox

Windows Vista/7: C:\Users\\AppData\Local\Mozilla\Firefox\Profiles\.\OfflineCache

Mac/Linux: /Users//Library/Caches/Firefox/Profiles/./OfflineCache

【讨论】:

    猜你喜欢
    • 2010-11-26
    • 1970-01-01
    • 2013-02-10
    • 1970-01-01
    • 2016-05-29
    • 2014-03-26
    • 2023-03-03
    • 1970-01-01
    • 1970-01-01
    相关资源
    最近更新 更多