Mobile Safari 不会停止缓存

发布于 2024-09-08 10:11:57 字数 167 浏览 0 评论 0原文

我正在为移动 Safari 编写一个离线应用程序。

我刚刚到达了它将在主屏幕上创建应用程序图标并离线运行的阶段。

现在我想更新应用程序中的 HTML,但它拒绝刷新。 我尝试过刷新按钮、“清除缓存”设置选项,我什至已经关闭了服务器,但 safari 仍然显示该页面。

帮助!

I'm writing an offline app for mobile Safari.

I have just gotten to the point where it will create the app icon on the home screen and function offline.

Now I want to update the HTML in my app, but it refuses to refresh.
I've trIed the refresh button, the "clear cache" settings option, I have even taken down the server but safari still shows the page.

Help!

如果你对这篇内容有疑问,欢迎到本站社区发帖提问 参与讨论,获取更多帮助,或者扫码二维码加入 Web 技术交流群。

扫码二维码加入Web技术交流群

发布评论

需要 登录 才能够评论, 你可以免费 注册 一个本站的账号。

评论(1

一腔孤↑勇 2024-09-15 10:11:57

您需要修改缓存清单。您只需在清单中添加注释行即可。当您这样做时,浏览器将重新下载整个应用程序。

有关此主题的更多信息可以在这里找到:http://diveintohtml5.ep.io/offline。 html#调试
你的情况有点符合标题:)

You need to modify the cache manifest. You can just add a comment line to the manifest. When you do, the browser will redownload the whole app.

More info about this topic can be found here: http://diveintohtml5.ep.io/offline.html#debugging
Your situation kind of applies to the title :)

~没有更多了~
我们使用 Cookies 和其他技术来定制您的体验包括您的登录状态等。通过阅读我们的 隐私政策 了解更多相关信息。 单击 接受 或继续使用网站,即表示您同意使用 Cookies 和您的相关数据。
原文