iOS:“添加到主屏幕”网站不会刷新
问题描述:
我正在测试一个网站,我通常在Safari iOS中打开它,然后将其添加到主屏幕以便我可以在全屏幕中看到它,这是我的元iOS:“添加到主屏幕”网站不会刷新
<meta name="viewport" content="width=device-width, initial-scale=1.0 user-scalable=0, minimum-scale=1.0, maximum-scale=1.0">
<meta name="apple-mobile-web-app-capable" content="yes">
<link rel="apple-touch-icon-precomposed" href="favicon.png"/>
<meta name="apple-mobile-web-app-status-bar-style" content="black">
,但我注意到,当我重新打开应用程序,有时,完全随机的web应用程序不会刷新......我尝试重置Safari浏览器,但仍nothign旧版本...
是一个奇怪的行为,我想知道我是否应该在元中设置seomthing以至少在调试/测试阶段更新刷新...
答
不知道这是否会工作?
<META HTTP-EQUIV="CACHE-CONTROL" CONTENT="NO-CACHE">
<META HTTP-EQUIV="PRAGMA" CONTENT="NO-CACHE">
此链接可能帮助:
并没有为我在Android上工作。 – valerio0999 2016-01-14 11:06:11